repo
stringclasses
21 values
pull_number
float64
45
194k
instance_id
stringlengths
16
34
issue_numbers
stringlengths
6
27
base_commit
stringlengths
40
40
patch
stringlengths
263
270k
test_patch
stringlengths
312
408k
problem_statement
stringlengths
38
47.6k
hints_text
stringlengths
1
257k
created_at
stringdate
2016-01-11 17:37:29
2024-10-18 14:52:41
language
stringclasses
4 values
Dockerfile
stringclasses
279 values
P2P
stringlengths
2
10.2M
F2P
stringlengths
11
38.9k
F2F
stringclasses
86 values
test_command
stringlengths
27
11.4k
task_category
stringclasses
5 values
is_no_nodes
bool
2 classes
is_func_only
bool
2 classes
is_class_only
bool
2 classes
is_mixed
bool
2 classes
num_func_changes
int64
0
238
num_class_changes
int64
0
70
num_nodes
int64
0
264
is_single_func
bool
2 classes
is_single_class
bool
2 classes
modified_nodes
stringlengths
2
42.2k
mui/material-ui
24,010
mui__material-ui-24010
['23496']
3506dda5d69fc237e8f241370c7fdf4d8a105370
diff --git a/packages/material-ui-system/src/style.js b/packages/material-ui-system/src/style.js --- a/packages/material-ui-system/src/style.js +++ b/packages/material-ui-system/src/style.js @@ -19,10 +19,10 @@ function getValue(themeMapping, transform, propValueFinal, userValue = propValue value = themeMapping[pr...
diff --git a/packages/material-ui-system/src/style.test.js b/packages/material-ui-system/src/style.test.js --- a/packages/material-ui-system/src/style.test.js +++ b/packages/material-ui-system/src/style.test.js @@ -118,6 +118,32 @@ describe('style', () => { }); }); + it('should transform the property correct...
[system] transform and themeKey do not work together when using style from material-ui/system <!-- Provide a general summary of the issue in the Title above --> Using the material-ui system function 'style' does not work properly when used with theme and styled-components. ```jsx const spacing = style({ prop:...
@cbravo Thanks for opening this issue, it's an interesting one. I'm doing a **digression**. We have recently revamped the documentation of the system in #23294. See [before](https://deploy-preview-23293--material-ui.netlify.app/system/basics/) vs. [after](https://deploy-preview-23294--material-ui.netlify.app/system/bas...
2020-12-14 06:48:48+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-system/src/style.test.js->style should work', 'packages/material-ui-system/src/style.test.js->style should fallback to value if theme value is an array and index missing', 'packages/material-ui-system/src/style.test.js->style should support breakpoints', 'packages/material-ui-system/src/style.tes...
['packages/material-ui-system/src/style.test.js->style should transform the property correctly using theme']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-system/src/style.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui-system/src/style.js->program->function_declaration:getValue"]
mui/material-ui
24,017
mui__material-ui-24017
['23673']
00b8ac82a31df147de3a62880268c4552c371ca4
diff --git a/docs/src/pages/components/date-time-picker/CustomDateTimePicker.js b/docs/src/pages/components/date-time-picker/CustomDateTimePicker.js --- a/docs/src/pages/components/date-time-picker/CustomDateTimePicker.js +++ b/docs/src/pages/components/date-time-picker/CustomDateTimePicker.js @@ -26,8 +26,10 @@ export...
diff --git a/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx b/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx --- a/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx +++ b/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx @@ -92,12 +92,14 @@ describe('<DatePicker />', () => ...
[DatePicker] Allow customizing icons <!-- Provide a general summary of the feature in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this: ...
@jahglow Which API would you envision? What do you think of https://github.com/mui-org/material-ui/issues/21453? @oliviertassinari I'm for consistency. So choose whatever pattern you've chosen for the rest of the props and we'll follow along. Since both packages relate to the same set of MUI, then a single way of doing...
2020-12-14 20:20:54+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx-><DateRangePicker /> allows disabling dates', "packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx-><DateRangePicker /> doesn't crash if opening picker with invalid date input", 'packages/material-ui-lab/src/DatePicker/DatePicker....
['packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx-><DatePicker /> prop `onMonthChange` – dispatches callback when months switching', 'packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx-><DatePicker /> switches between months', 'packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx->...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
1
0
1
true
false
["docs/src/pages/components/date-time-picker/CustomDateTimePicker.js->program->function_declaration:CustomDateTimePicker"]
mui/material-ui
24,105
mui__material-ui-24105
['24096']
16c648dfd8d9b47772a44f3a77c6648a55557d80
diff --git a/packages/material-ui-lab/src/TreeItem/TreeItem.js b/packages/material-ui-lab/src/TreeItem/TreeItem.js --- a/packages/material-ui-lab/src/TreeItem/TreeItem.js +++ b/packages/material-ui-lab/src/TreeItem/TreeItem.js @@ -223,7 +223,7 @@ const TreeItem = React.forwardRef(function TreeItem(props, ref) { func...
diff --git a/packages/material-ui-lab/src/TreeItem/TreeItem.test.js b/packages/material-ui-lab/src/TreeItem/TreeItem.test.js --- a/packages/material-ui-lab/src/TreeItem/TreeItem.test.js +++ b/packages/material-ui-lab/src/TreeItem/TreeItem.test.js @@ -414,6 +414,22 @@ describe('<TreeItem />', () => { expect(g...
[TreeView] Scroll jump bug When Tree View has a larger height than the window height, clicking Tree Items first jumps the position of the item to the top and then on the second click toggles. See the video, please. A similar thing happens in the last items too - it just positions the element to the bottom and it is...
null
2020-12-23 11:05:01+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/TreeItem/TreeItem.test.js-><TreeItem /> Accessibility Expansion enter key interaction expands a node with children', 'packages/material-ui-lab/src/TreeItem/TreeItem.test.js-><TreeItem /> Accessibility Single Selection keyboard should not deselect a node when space is pressed on a selected...
['packages/material-ui-lab/src/TreeItem/TreeItem.test.js-><TreeItem /> Accessibility when a tree receives focus should focus on tree with scroll prevented']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/TreeItem/TreeItem.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui-lab/src/TreeItem/TreeItem.js->program->function_declaration:handleFocus"]
mui/material-ui
24,202
mui__material-ui-24202
['24194']
984645eb1a765abbf39a4f61dad0d21a6e518ee3
diff --git a/docs/pages/api-docs/autocomplete.json b/docs/pages/api-docs/autocomplete.json --- a/docs/pages/api-docs/autocomplete.json +++ b/docs/pages/api-docs/autocomplete.json @@ -72,7 +72,7 @@ "type": { "name": "enum", "description": "'medium'<br>&#124;&nbsp;'small'" }, "default": "'medium'" }, -...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -1,4 +1,5 @@ import * as React from 'react'; +import ...
[Autocomplete] showing Cannot read property 'length' of null while using with Async and Multiple props. <!-- I am using autocomplete component with async its working fine but when i add multiple then its start given error Cannot read property 'length' of null --> <!-- Thank you very much for contributing to ...
@Sandeep0695 Interesting, thanks for raising. The empty state when multiple is set isn't null but an empty array. I would propose the following diff to make it easier to discover: ```diff diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.js b/packages/material-ui/src/Autocomplete/Autocomplete.js inde...
2020-12-30 23:43:00+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: filterOptions does not limit the amount of rendered options when...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,205
mui__material-ui-24205
['24195']
dbaac3f35a31d2fc6f0ec3feb6c4125f5ec359b2
diff --git a/packages/material-ui-lab/src/DateRangePicker/DateRangePickerViewMobile.tsx b/packages/material-ui-lab/src/DateRangePicker/DateRangePickerViewMobile.tsx --- a/packages/material-ui-lab/src/DateRangePicker/DateRangePickerViewMobile.tsx +++ b/packages/material-ui-lab/src/DateRangePicker/DateRangePickerViewMobi...
diff --git a/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx b/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx --- a/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx +++ b/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx @@ -58,4 +58,15 @@ describe('<DayPicker />', () => { exp...
[DatePicker] Select the year only, and the current month is displayed. ## Current Behavior 😯 Using the lab's Date Picker in Material-UI v5-alpha, when I select the year to be displayed only, the current month is shown with the year. ## Expected Behavior 🤔 I expect it to show the year only and nothing else. ...
I can confirm the issue at https://next.material-ui.com/components/date-picker/#views-playground <img width="400" alt="Capture d’écran 2020-12-30 à 20 37 27" src="https://user-images.githubusercontent.com/3165635/103377158-e16acc80-4ade-11eb-8d00-f9873854ec05.png"> @hyeonhong In this case, I would personally use...
2020-12-31 05:22:56+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> Material-UI component API ref attaches the ref', 'packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> Material-UI component API applies the className to the root component', 'packages/material-ui-lab/src/DayPicker/DayPicker....
['packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> should skip the header']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,213
mui__material-ui-24213
['24198']
dbaac3f35a31d2fc6f0ec3feb6c4125f5ec359b2
diff --git a/.eslintrc.js b/.eslintrc.js --- a/.eslintrc.js +++ b/.eslintrc.js @@ -190,6 +190,7 @@ module.exports = { 'jsx-a11y/click-events-have-key-events': 'off', 'jsx-a11y/control-has-associated-label': 'off', 'jsx-a11y/iframe-has-title': 'off', + 'jsx-a11y/label-has-associated-con...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -12,8 +12,7 @@ import { import { spy } from 'sinon'; ...
[Autocomplete] for Voiceover on Mac is reading incorrect labels on any browser <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- ...
@inform880 I can reproduce it too, since the first version. Wow, I can't believe it wasn't reported before. How is the component even usable with this behavior? 🙈 From what I understand, the bug has been here for 1 year and unnoticed… It looks like VoiceOver caches the results per DOM node. What do you think about ...
2020-12-31 15:50:14+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: filterOptions does not limit the amount of rendered options when...
['packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should preserve DOM nodes of options when re-ordering']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/useAutocomplete/useAutocomplete.test.js packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
24,253
mui__material-ui-24253
['24262']
4c8d0aa415ed219549fc0e6f09b4211ef15863d5
diff --git a/packages/material-ui/src/Avatar/Avatar.js b/packages/material-ui/src/Avatar/Avatar.js --- a/packages/material-ui/src/Avatar/Avatar.js +++ b/packages/material-ui/src/Avatar/Avatar.js @@ -8,11 +8,11 @@ import Person from '../internal/svg-icons/Person'; import avatarClasses, { getAvatarUtilityClass } from '....
diff --git a/packages/material-ui/src/Avatar/Avatar.test.js b/packages/material-ui/src/Avatar/Avatar.test.js --- a/packages/material-ui/src/Avatar/Avatar.test.js +++ b/packages/material-ui/src/Avatar/Avatar.test.js @@ -19,6 +19,7 @@ describe('<Avatar />', () => { muiName: 'MuiAvatar', testDeepOverrides: { slo...
[component: styleOverrides] No longer working In previous versions it worked fine, but now it's not working anymore Here is the simulation of that behavior https://codesandbox.io/s/globalthemeoverride-material-demo-forked-46yj7?file=/demo.js:0-760 Please help me, Thanks!
null
2021-01-03 16:48:17+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Typography/Typography.test.js-><Typography /> headline should render a p with a paragraph', 'packages/material-ui/src/Typography/Typography.test.js-><Typography /> should render h3 text', 'packages/material-ui/src/Typography/Typography.test.js-><Typography /> Material-UI component API should ...
["packages/material-ui/src/Slider/Slider.test.js-><Slider /> Material-UI component API theme: components respect theme's styleOverrides custom state", "packages/material-ui/src/Button/Button.test.js-><Button /> Material-UI component API theme: components respect theme's styleOverrides custom state", "packages/material-...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Typography/Typography.test.js packages/material-ui/src/Avatar/Avatar.test.js packages/material-ui/src/Button/Button.test.js packages/material-ui/src/Slider/Slider.test.js test/utils/describeConformanceV5.js --reporte...
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,290
mui__material-ui-24290
['24261']
1b24a942f93a07a7f2073942c6dec91bdd688d75
diff --git a/packages/material-ui/src/FormLabel/FormLabel.js b/packages/material-ui/src/FormLabel/FormLabel.js --- a/packages/material-ui/src/FormLabel/FormLabel.js +++ b/packages/material-ui/src/FormLabel/FormLabel.js @@ -28,6 +28,10 @@ export const styles = (theme) => ({ '&$focused': { color: theme.palett...
diff --git a/packages/material-ui/src/FormLabel/FormLabel.test.js b/packages/material-ui/src/FormLabel/FormLabel.test.js --- a/packages/material-ui/src/FormLabel/FormLabel.test.js +++ b/packages/material-ui/src/FormLabel/FormLabel.test.js @@ -154,4 +154,28 @@ describe('<FormLabel />', () => { }); }); });...
[TextField] Form inputs with secondary color don't get error color on focus - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 When focusing a form ...
@fast-reflexes Your codesandbox does not contain any code using inputs. Did you forget to save or accidentally copied a different URL? Woops.. forgot to save :( :) It's there now! Thanks for the report. Very easy to follow what the problem is and how to reproduce it :+1: I would definitely consider this a bug. I a...
2021-01-06 12:54:21+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/FormLabel/FormLabel.test.js-><FormLabel /> with FormControl required should show an asterisk', 'packages/material-ui/src/FormLabel/FormLabel.test.js-><FormLabel /> Material-UI component API prop: component can render another root component with the `component` prop', 'packages/material-ui/src...
['packages/material-ui/src/FormLabel/FormLabel.test.js-><FormLabel /> prop: color should have the error class and style, even when focused']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/FormLabel/FormLabel.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,301
mui__material-ui-24301
['23921']
2edcd4f7a83cbfc6febd73b71ae7571bdfa20f09
diff --git a/packages/material-ui-lab/src/MonthPicker/PickersMonth.tsx b/packages/material-ui-lab/src/MonthPicker/PickersMonth.tsx --- a/packages/material-ui-lab/src/MonthPicker/PickersMonth.tsx +++ b/packages/material-ui-lab/src/MonthPicker/PickersMonth.tsx @@ -63,6 +63,7 @@ const PickersMonth: React.FC<MonthProps & W...
diff --git a/packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx b/packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx --- a/packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx +++ b/packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx @@ -58,4 +58,26 @@ describe('<MonthPicker />'...
[DatePicker] Allows selecting out of range dates <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look l...
Do you have a codesandbox with v5? @material-ui/pickers is legacy. Sure, here's a codesandbox with v5: https://codesandbox.io/s/responsivedatepickers-material-demo-forked-3qb91
2021-01-07 01:58:58+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx-><MonthPicker /> Material-UI component API applies the className to the root component', 'packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx-><MonthPicker /> Material-UI component API applies the root class to the root component if it has this c...
['packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx-><MonthPicker /> does not allow to pick months out of range']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/MonthPicker/MonthPicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,309
mui__material-ui-24309
['23675']
24c917cfd47e4c962cbbe34250c6e1680c0ae6f4
diff --git a/packages/material-ui-lab/src/DateRangePicker/makeDateRangePicker.tsx b/packages/material-ui-lab/src/DateRangePicker/makeDateRangePicker.tsx --- a/packages/material-ui-lab/src/DateRangePicker/makeDateRangePicker.tsx +++ b/packages/material-ui-lab/src/DateRangePicker/makeDateRangePicker.tsx @@ -1,6 +1,6 @@ ...
diff --git a/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx b/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx --- a/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx +++ b/packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx @@ -2,6 +2,7 @@ import * as React from 'react'; impo...
[DatePicker] Theme default props broken <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this:...
@rajzik Thanks for opening the issue. - It would be much better to provide a live reproduction with a codesandbox - I suggest we remove `withDefaultProps`, it shouldn't be a HOC https://github.com/mui-org/material-ui/blob/ac5c2068c43ee6982552d51468b1e48b56557b40/packages/material-ui-lab/src/internal/pickers/withDe...
2021-01-08 00:41:04+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx-><DateRangePicker /> allows disabling dates', "packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx-><DateRangePicker /> doesn't crash if opening picker with invalid date input", 'packages/material-ui-lab/src/DatePicker/DatePicker....
["packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx-><DateRangePicker /> respect theme's defaultProps", "packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx-><DatePicker /> respect theme's defaultProps"]
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/DatePicker/DatePicker.test.tsx packages/material-ui-lab/src/DateRangePicker/DateRangePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,621
mui__material-ui-24621
['24171']
c676e736337b914d7dc16f465212c47d7f2d50aa
diff --git a/docs/src/pages/components/date-picker/InternalPickers.js b/docs/src/pages/components/date-picker/SubComponentsPickers.js similarity index 91% rename from docs/src/pages/components/date-picker/InternalPickers.js rename to docs/src/pages/components/date-picker/SubComponentsPickers.js --- a/docs/src/pages/com...
diff --git a/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx b/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx --- a/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx +++ b/packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx @@ -34,11 +34,15 @@ describe('<DayPicker />', () => { ex...
[DatePicker] w3c validator issues Hi, I'm using your Datepicker component. Is there any chance to fix this? - [ ] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Cur...
@annaolchowik Thanks for the report. While the issue you have reported seems to be fixed, we have a different one now: <img width="672" alt="Capture d’écran 2020-12-29 à 13 31 09" src="https://user-images.githubusercontent.com/3165635/103283930-25c07480-49da-11eb-88fd-f262fb66367f.png"> What do you think about ...
2021-01-25 17:10:39+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> should skip the header', 'packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> Material-UI component API ref attaches the ref', 'packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> Material-UI component A...
['packages/material-ui-lab/src/StaticDateRangePicker/StaticDateRangePicker.test.tsx-><StaticDateRangePicker /> allows disabling dates', 'packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx-><DayPicker /> renders calendar standalone', 'packages/material-ui-lab/src/StaticDateRangePicker/StaticDateRangePicker.test.t...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/DayPicker/DayPicker.test.tsx packages/material-ui-lab/src/StaticDateRangePicker/StaticDateRangePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,742
mui__material-ui-24742
['24706']
ee6dd6d2eedc5d74a945a94cff528ba4ab04611c
diff --git a/packages/material-ui/src/InputAdornment/InputAdornment.js b/packages/material-ui/src/InputAdornment/InputAdornment.js --- a/packages/material-ui/src/InputAdornment/InputAdornment.js +++ b/packages/material-ui/src/InputAdornment/InputAdornment.js @@ -90,7 +90,15 @@ const InputAdornment = React.forwardRef(fu...
diff --git a/packages/material-ui/src/InputAdornment/InputAdornment.test.js b/packages/material-ui/src/InputAdornment/InputAdornment.test.js --- a/packages/material-ui/src/InputAdornment/InputAdornment.test.js +++ b/packages/material-ui/src/InputAdornment/InputAdornment.test.js @@ -166,7 +166,7 @@ describe('<InputAdorn...
[TextField] Improve baseline alignement with start adornment - [x] The issue is present in the latest (alpha) release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 https://codesandbox.io/s/bas...
@Philipp91 Interesting, I think that it would make sense to use the same fix as we used in the Select: #16743. ```diff diff --git a/packages/material-ui/src/InputAdornment/InputAdornment.js b/packages/material-ui/src/InputAdornment/InputAdornment.js index 4d04077933..27b7be2a61 100644 --- a/packages/material-ui/s...
2021-02-02 10:40:12+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/InputAdornment/InputAdornment.test.js-><InputAdornment /> prop: variant should warn if the variant supplied is equal to the variant inferred', 'packages/material-ui/src/InputAdornment/InputAdornment.test.js-><InputAdornment /> Material-UI component API ref attaches the ref', 'packages/materia...
['packages/material-ui/src/InputAdornment/InputAdornment.test.js-><InputAdornment /> prop: position should render span for vertical baseline alignment']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/InputAdornment/InputAdornment.test.js test/regressions/tests/TextField/BaselineAlignTextField.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,782
mui__material-ui-24782
['24740']
058e409679188b9b5d68baeabea9f46b21f7fe1f
diff --git a/docs/src/pages/components/slider/ContinuousSlider.tsx b/docs/src/pages/components/slider/ContinuousSlider.tsx --- a/docs/src/pages/components/slider/ContinuousSlider.tsx +++ b/docs/src/pages/components/slider/ContinuousSlider.tsx @@ -9,10 +9,7 @@ import VolumeUp from '@material-ui/icons/VolumeUp'; export ...
diff --git a/packages/material-ui/src/Select/Select.test.js b/packages/material-ui/src/Select/Select.test.js --- a/packages/material-ui/src/Select/Select.test.js +++ b/packages/material-ui/src/Select/Select.test.js @@ -1112,4 +1112,23 @@ describe('<Select />', () => { ); expect(document.activeElement).to.equa...
[Slider] Sends incorrect event.target on touch event <!-- Provide a general summary of the issue in the Title above --> Having a slider in a Swipeable Drawer throws "Failed to execute 'contains' on 'Node'", on mobile device and chrome mobile view. <!-- Thank you very much for contributing to Material-UI by creatin...
@tech-meppem Interesting, it fails on this line: https://github.com/mui-org/material-ui/blob/e7bf469195f13bd0bf357111f3e50ac461d2ed38/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js#L444 The mortified event leaks to its parent. One way to solve the issue is: ```diff diff --git a/packages/materi...
2021-02-05 13:28:54+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Select/Select.test.js-><Select /> should open menu when pressed ArrowUp key on select', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: ValueLabelComponent receives the formatted value', 'packages/material-ui/src/Select/Select.test.js-><Select /> prop: multiple selects value...
['packages/material-ui/src/Slider/Slider.test.js-><Slider /> should not override the event.target on mouse events', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should hedge against a dropped mouseup event', 'packages/material-ui/src/Select/Select.test.js-><Select /> should not override the event.target ...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Select/Select.test.js test/utils/createDOM.js packages/material-ui/src/Slider/Slider.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
24,794
mui__material-ui-24794
['24773']
f0e657bcd52071fb11b27437053ee6110a69b285
diff --git a/docs/src/pages/guides/migration-v4/migration-v4.md b/docs/src/pages/guides/migration-v4/migration-v4.md --- a/docs/src/pages/guides/migration-v4/migration-v4.md +++ b/docs/src/pages/guides/migration-v4/migration-v4.md @@ -272,11 +272,27 @@ const classes = makeStyles(theme => ({ ### System -- The follo...
diff --git a/packages/material-ui-system/src/borders.test.js b/packages/material-ui-system/src/borders.test.js new file mode 100644 --- /dev/null +++ b/packages/material-ui-system/src/borders.test.js @@ -0,0 +1,14 @@ +import { expect } from 'chai'; +import borders from './borders'; + +describe('borders', () => { + it(...
[Box] `gap` prop doesn't use theme spacing When I use <Box component="article" display="grid" gridAutoFlow="row" gridGap={2}> this is generating a box with a gap of 2px, not - as I would expect - a spacing value from the current theme. - [x] The issue is present in the latest release. - [x] I have search...
@togakangaroo Thanks for opening this issue. I agree, it would make more sense. A rough POC: ```diff diff --git a/packages/material-ui-system/src/borders.js b/packages/material-ui-system/src/borders.js index 877dd95e2d..be8035858b 100644 --- a/packages/material-ui-system/src/borders.js +++ b/packages/material...
2021-02-06 04:39:44+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-system/src/borders.test.js->borders should work']
['packages/material-ui-system/src/grid.test.js->grid should work']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should only listen t...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-system/src/borders.test.js packages/material-ui-system/src/grid.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
7
0
7
false
false
["packages/material-ui-system/src/borders.js->program->function_declaration:resolveCssProperty", "docs/src/pages/system/grid/Gap.js->program->function_declaration:Gap", "docs/src/pages/system/grid/GridAutoColumns.js->program->function_declaration:GridAutoColumns", "docs/src/pages/system/grid/RowAndColumnGap.js->program...
mui/material-ui
24,968
mui__material-ui-24968
['24896']
22491f2568a93f49cfc20dae6a9a8b2cad4da957
diff --git a/docs/pages/api-docs/slider-unstyled.json b/docs/pages/api-docs/slider-unstyled.json --- a/docs/pages/api-docs/slider-unstyled.json +++ b/docs/pages/api-docs/slider-unstyled.json @@ -64,6 +64,7 @@ "marked", "vertical", "disabled", + "dragging", "rail", "track", ...
diff --git a/packages/material-ui/src/Slider/Slider.test.js b/packages/material-ui/src/Slider/Slider.test.js --- a/packages/material-ui/src/Slider/Slider.test.js +++ b/packages/material-ui/src/Slider/Slider.test.js @@ -1033,4 +1033,63 @@ describe('<Slider />', () => { expect(handleNativeEvent.returnValues).to.have...
[Slider] Improve thumb and track animation - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Summary 💡 Currently the Slider thumb is positioned by changing its `left`/`right`/`bottom`, and the track is grown by changing...
As far as I understand the issue, the lag comes from the transition. Why would use left vs. transform change the outcome? I can improve the FPS sure, but we see a clear and smooth lag here: https://csstriggers.com/. This seems to perform perfectly: ```diff diff --git a/docs/src/pages/components/slider/Customized...
2021-02-16 15:29:21+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: ValueLabelComponent receives the formatted value', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should hedge against a dropped mouseup event', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: max should reach right edge v...
['packages/material-ui/src/Slider/Slider.test.js-><Slider /> dragging state should apply class name for dragging modality']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Slider/Slider.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,004
mui__material-ui-25004
['24972']
d5663d1bd5fd2de22cb4a1783bd29791b775a470
diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.js b/packages/material-ui/src/ButtonBase/ButtonBase.js --- a/packages/material-ui/src/ButtonBase/ButtonBase.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.js @@ -88,6 +88,7 @@ const ButtonBase = React.forwardRef(function ButtonBase(inProps, ref) { ...
diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.test.js b/packages/material-ui/src/ButtonBase/ButtonBase.test.js --- a/packages/material-ui/src/ButtonBase/ButtonBase.test.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.test.js @@ -119,6 +119,7 @@ describe('<ButtonBase />', () => { const onMou...
[ButtonBase] Right clicking stack up ripples - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 When I right click a component that has the typical ...
It doesn't look like this bug report has enough info for one of us to reproduce it. Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. Here are some tips for providing a minimal example: ...
2021-02-19 13:07:09+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions should restart the ripple when the mouse is pressed again', 'packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> root node should change the button component and add accessibility requirements', 'packages/mat...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions should stop the ripple when the context menu opens']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/ButtonBase/ButtonBase.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,072
mui__material-ui-25072
['25011']
4793d2d5d6fc8542aa422c0e98261e11649fb994
diff --git a/packages/material-ui/src/Button/Button.js b/packages/material-ui/src/Button/Button.js --- a/packages/material-ui/src/Button/Button.js +++ b/packages/material-ui/src/Button/Button.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import { deepmerge } from '@material-ui/utils'...
diff --git a/packages/material-ui/src/Button/Button.test.js b/packages/material-ui/src/Button/Button.test.js --- a/packages/material-ui/src/Button/Button.test.js +++ b/packages/material-ui/src/Button/Button.test.js @@ -379,4 +379,11 @@ describe('<Button />', () => { expect(button).not.to.have.attribute('type'); ...
[Button] Disabled classes not added to the button <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look ...
@Jack-Works Oh right, we don't forward the `classes`, this should do it: ```diff diff --git a/packages/material-ui/src/Button/Button.js b/packages/material-ui/src/Button/Button.js index 11a700c67b..b041bce5af 100644 --- a/packages/material-ui/src/Button/Button.js +++ b/packages/material-ui/src/Button/Button.js ...
2021-02-23 15:28:12+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Button/Button.test.js-><Button /> should render an inherit outlined button', 'packages/material-ui/src/Button/Button.test.js-><Button /> should render a text secondary button', 'packages/material-ui/src/Button/Button.test.js-><Button /> should render a contained primary button', 'packages/mat...
['packages/material-ui/src/Button/Button.test.js-><Button /> should forward classes to ButtonBase']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Button/Button.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,105
mui__material-ui-25105
['21470']
6d732baac5eee9027a7cb4a7be9d165b8c705936
diff --git a/packages/material-ui/src/TableCell/TableCell.js b/packages/material-ui/src/TableCell/TableCell.js --- a/packages/material-ui/src/TableCell/TableCell.js +++ b/packages/material-ui/src/TableCell/TableCell.js @@ -148,11 +148,10 @@ const TableCell = React.forwardRef(function TableCell(inProps, ref) { const ...
diff --git a/packages/material-ui/src/TableCell/TableCell.test.js b/packages/material-ui/src/TableCell/TableCell.test.js --- a/packages/material-ui/src/TableCell/TableCell.test.js +++ b/packages/material-ui/src/TableCell/TableCell.test.js @@ -90,4 +90,9 @@ describe('<TableCell />', () => { const { container } = re...
TableCell should not add role="cell" if a th component is passed The docs for a [Simple Table](https://material-ui.com/components/tables/#simple-table) say: > `For accessibility, the first column is set to be a <th> element, with a scope of "col". This enables screen readers to identify a cell's value by it's row an...
I agree that we just shouldn't add the role and let users fix this on their own. I would argue this for any `component` usage since we can't reliably reason about it. Almost all cases I see are invalid anyway (abuses styles without semantics, inaccessible regardless etc). The original motivation in #20431 can be...
2021-02-27 08:59:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/TableCell/TableCell.test.js-><TableCell /> should render children', 'packages/material-ui/test/integration/TableCell.test.js-><TableRow> integration should render without footer class when variant is body, overriding context', "packages/material-ui/src/TableCell/TableCell.test.js-><TableCell ...
['packages/material-ui/test/integration/TableCell.test.js-><TableRow> integration does not set `role` when `component` prop is set and used in the context of table footer ', 'packages/material-ui/test/integration/TableCell.test.js-><TableRow> integration does not set `role` when `component` prop is set and used in the ...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/TableCell/TableCell.test.js packages/material-ui/test/integration/TableCell.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,143
mui__material-ui-25143
['25141']
1f41a07c650fb4ef110fa5650a7a0d2badd127a3
diff --git a/packages/material-ui/src/styles/experimentalStyled.js b/packages/material-ui/src/styles/experimentalStyled.js --- a/packages/material-ui/src/styles/experimentalStyled.js +++ b/packages/material-ui/src/styles/experimentalStyled.js @@ -73,12 +73,10 @@ const experimentalStyled = (tag, options, muiOptions = {}...
diff --git a/packages/material-ui/src/Tooltip/Tooltip.test.js b/packages/material-ui/src/Tooltip/Tooltip.test.js --- a/packages/material-ui/src/Tooltip/Tooltip.test.js +++ b/packages/material-ui/src/Tooltip/Tooltip.test.js @@ -49,7 +49,7 @@ describe('<Tooltip />', () => { const render = createClientRender(); de...
[Tooltip] styleOverrides not working I have tried custum styleOverrides Tooltip in my project without success. but I see it to work on the sandbox https://codesandbox.io/s/tootip-material-demo-forked-pv2ut I tested for other components like Button, Text Field ... seems to work, but Tooltip doesn't Does the cu...
A reproduction of the issue: https://codesandbox.io/s/tootip-material-demo-forked-reoq3. The tooltip has no root element. It's a bug, I would propose this fix: ```diff diff --git a/packages/material-ui/src/styles/experimentalStyled.js b/packages/material-ui/src/styles/experimentalStyled.js index aee32cb060..b1b329...
2021-02-28 20:11:47+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Tooltip/Tooltip.test.js-><Tooltip /> prop: title should label the child when open', 'packages/material-ui/src/Tooltip/Tooltip.test.js-><Tooltip /> should render a popper', 'packages/material-ui/src/Tooltip/Tooltip.test.js-><Tooltip /> prop: delay should take the enterDelay into account', 'pac...
['packages/material-ui/src/styles/experimentalStyled.test.js->experimentalStyled muiOptions should support override as long as a resolver is provided']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/styles/experimentalStyled.test.js packages/material-ui/src/Tooltip/Tooltip.test.js test/utils/describeConformanceV5.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,259
mui__material-ui-25259
['25215']
fe2632d1eb87f0b544be104aa89d06f6a2a64e23
diff --git a/packages/material-ui/src/SpeedDial/SpeedDial.js b/packages/material-ui/src/SpeedDial/SpeedDial.js --- a/packages/material-ui/src/SpeedDial/SpeedDial.js +++ b/packages/material-ui/src/SpeedDial/SpeedDial.js @@ -360,7 +360,13 @@ const SpeedDial = React.forwardRef(function SpeedDial(inProps, ref) { }); ...
diff --git a/packages/material-ui/src/SpeedDial/SpeedDial.test.js b/packages/material-ui/src/SpeedDial/SpeedDial.test.js --- a/packages/material-ui/src/SpeedDial/SpeedDial.test.js +++ b/packages/material-ui/src/SpeedDial/SpeedDial.test.js @@ -6,14 +6,26 @@ import { createClientRender, act, fireEvent, + fireDi...
[SpeedDial] Tooltip not closing when quickly moving the mouse away - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 If I quickly move the mouse aw...
null
2021-03-08 01:32:11+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> dial focus actions navigation does not wrap around start dir right with keys ArrowRight,ArrowLeft,ArrowLeft,ArrowRight', 'packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> should render a Fade transition', 'packages/material-ui/src/...
['packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> prop: direction should place the tooltip in the correct position when direction=left', 'packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> keyboard should reset the state of the tooltip when the speed dial is closed while it is open'...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/SpeedDial/SpeedDial.test.js test/utils/fireDiscreteEvent.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,276
mui__material-ui-25276
['25147']
e6561e21bea65fb938470a9503971776a998196d
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.js b/packages/material-ui/src/Autocomplete/Autocomplete.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.js @@ -19,15 +19,7 @@ import capitalize from '../utils/capitalize'; const ove...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -10,6 +10,7 @@ import { screen, } from 'test/utils...
[Autocomplete] styleOverrides not apply working for Paper I have tried custom styleOverrides Autocomplete but I see it to work on the sandbox https://codesandbox.io/s/muiautocomplete-material-demo-forked-pv2ut?file=/index.js (apply both root and paper) in my project with the same code ```js MuiAutocomplete: ...
@mtr1990 I think the entire `styleOverrides` of `MuiAutocomplete` does not work after alpha25 => alpha26. I just bumped into this issue as well with ```js MuiAutocomplete: { styleOverrides: { listbox: { backgroundColor: themeColors.paleGreen } } } ``` @oliviertass...
2021-03-09 10:10:49+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong', 'packages/material-u...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> should be customizable in the theme']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,323
mui__material-ui-25323
['25278']
5511e9c32fda435d7de7c64a44ba8c32483dab44
diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.js b/packages/material-ui/src/ButtonBase/ButtonBase.js --- a/packages/material-ui/src/ButtonBase/ButtonBase.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.js @@ -89,6 +89,7 @@ const ButtonBase = React.forwardRef(function ButtonBase(inProps, ref) { ...
diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.test.js b/packages/material-ui/src/ButtonBase/ButtonBase.test.js --- a/packages/material-ui/src/ButtonBase/ButtonBase.test.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.test.js @@ -51,6 +51,14 @@ describe('<ButtonBase />', () => { })); descri...
[Button] Submit is always triggered v5 ## Current Behavior 😯 In version 5 a button click always triggers a submit. ## Expected Behavior 🤔 Submit should only be triggered if the button is of type 'submit'. ## Steps to Reproduce 🕹 Version 5: https://codesandbox.io/s/funny-silence-4wdsx?file=/src/App.ts...
I can confirm the change of behavior between v4 and v5. This is either a regression or a breaking change. This touch on something I have been wondering for quite some time. The default type of a `<button>` element is "submit", not "button" like Material-UI do. What would be more intuitive for developers in v5? cc @e...
2021-03-12 22:03:34+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions should restart the ripple when the mouse is pressed again', 'packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> root node should change the button component and add accessibility requirements', 'packages/mat...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> root node should have default button type "button"']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/ButtonBase/ButtonBase.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,390
mui__material-ui-25390
['23755']
ea2bd5aa822dfd4e46a0cdf3d68f90f7f2e6d757
diff --git a/docs/pages/api-docs/toggle-button-group.json b/docs/pages/api-docs/toggle-button-group.json --- a/docs/pages/api-docs/toggle-button-group.json +++ b/docs/pages/api-docs/toggle-button-group.json @@ -2,6 +2,13 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name...
diff --git a/packages/material-ui/src/ToggleButton/ToggleButton.test.js b/packages/material-ui/src/ToggleButton/ToggleButton.test.js --- a/packages/material-ui/src/ToggleButton/ToggleButton.test.js +++ b/packages/material-ui/src/ToggleButton/ToggleButton.test.js @@ -39,6 +39,18 @@ describe('<ToggleButton />', () => { ...
[ToggleButton] Add a color prop ## Summary 💡 Add a color prop to ToggleButtonGroup to allow the active button to have an alternative color ## Examples 🌈 One use-case: #23754 ![image](https://user-images.githubusercontent.com/357702/100517773-2b316180-3185-11eb-83f3-f91097cb2668.png) (Note that this exa...
Hi guys, I'd like to address this issue... Will be making a PR in a few days.
2021-03-17 04:57:39+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/ToggleButton/ToggleButton.test.js-><ToggleButton /> Material-UI component API spreads props to the root component', "packages/material-ui/src/ToggleButton/ToggleButton.test.js-><ToggleButton /> Material-UI component API theme default components: respect theme's defaultProps", 'packages/materi...
['packages/material-ui/src/ToggleButton/ToggleButton.test.js-><ToggleButton /> prop: color adds the class if color="primary"']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch functionality should fire onClick on touch tap']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/ToggleButton/ToggleButton.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
2
0
2
false
false
["docs/src/modules/components/AppSettingsDrawer.js->program->function_declaration:AppSettingsDrawer", "docs/src/pages/components/toggle-button/ToggleButtonSizes.js->program->function_declaration:ToggleButtonSizes"]
mui/material-ui
25,428
mui__material-ui-25428
['25321']
e6666a5b3887d6c7d4d6ee171a440f032d89462b
diff --git a/docs/src/pages/components/dividers/VerticalDividerMiddle.js b/docs/src/pages/components/dividers/VerticalDividerMiddle.js new file mode 100644 --- /dev/null +++ b/docs/src/pages/components/dividers/VerticalDividerMiddle.js @@ -0,0 +1,39 @@ +import * as React from 'react'; +import FormatAlignLeftIcon from '...
diff --git a/packages/material-ui/src/Divider/Divider.test.js b/packages/material-ui/src/Divider/Divider.test.js --- a/packages/material-ui/src/Divider/Divider.test.js +++ b/packages/material-ui/src/Divider/Divider.test.js @@ -108,10 +108,24 @@ describe('<Divider />', () => { }); }); - describe('prop: ...
[Divider] Support "middle" variant with "vertical" orientation <!-- Provide a general summary of the feature in the Title above --> (Using 4.11.2) The Divider component applies ``` .MuiDivider-middle { margin-right: '16px'; margin-left: '16px'; } ``` When the orientation is vertical, this doesn't do a...
@PanopticaRising This makes sense. It does make sense with the semantic of the props. Regarding the actual style. I wonder if we shouldn't use some fixed pixels values.
2021-03-20 17:12:29+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Divider/Divider.test.js-><Divider /> prop: children prop: orientation should set the textVertical class', "packages/material-ui/src/Divider/Divider.test.js-><Divider /> Material-UI component API theme default components: respect theme's defaultProps", 'packages/material-ui/src/Divider/Divider...
['packages/material-ui/src/Divider/Divider.test.js-><Divider /> prop: variant prop: variant="middle" with orientation="vertical" should set the middle class with marginTop & marginBottom styles']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Divider/Divider.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
1
0
1
true
false
["docs/src/pages/components/dividers/VerticalDividers.js->program->function_declaration:VerticalDividers"]
mui/material-ui
25,509
mui__material-ui-25509
['25326']
d1179470d49f34db2bc441df01ef11f7340ba7b6
diff --git a/packages/material-ui/src/SpeedDial/SpeedDial.js b/packages/material-ui/src/SpeedDial/SpeedDial.js --- a/packages/material-ui/src/SpeedDial/SpeedDial.js +++ b/packages/material-ui/src/SpeedDial/SpeedDial.js @@ -233,8 +233,9 @@ const SpeedDial = React.forwardRef(function SpeedDial(inProps, ref) { if (...
diff --git a/packages/material-ui/src/SpeedDial/SpeedDial.test.js b/packages/material-ui/src/SpeedDial/SpeedDial.test.js --- a/packages/material-ui/src/SpeedDial/SpeedDial.test.js +++ b/packages/material-ui/src/SpeedDial/SpeedDial.test.js @@ -246,13 +246,15 @@ describe('<SpeedDial />', () => { expect(queryByRo...
[SpeedDial] Cannot open with Enter/Space after closed via Escape ## Current Behavior 😯 SpeedDial cannot be opened via Enter/space after being closed via Escape ## Expected Behavior 🤔 FAB gains focus after Escape to preserve Tab-order and allwo opening again via Enter/Space ## Steps to Reproduce 🕹 htt...
null
2021-03-26 04:04:57+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> dial focus actions navigation does not wrap around start dir right with keys ArrowRight,ArrowLeft,ArrowLeft,ArrowRight', 'packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> should render a Fade transition', 'packages/material-ui/src/...
['packages/material-ui/src/SpeedDial/SpeedDial.test.js-><SpeedDial /> keyboard should reset the state of the tooltip when the speed dial is closed while it is open']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/SpeedDial/SpeedDial.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,547
mui__material-ui-25547
['24831']
293b579ab1dc22770921e57d1e5a51f9b90bbec0
diff --git a/docs/pages/api-docs/slider-unstyled.json b/docs/pages/api-docs/slider-unstyled.json --- a/docs/pages/api-docs/slider-unstyled.json +++ b/docs/pages/api-docs/slider-unstyled.json @@ -17,6 +17,7 @@ "type": { "name": "union", "description": "Array&lt;number&gt;<br>&#124;&nbsp;number" } }, "di...
diff --git a/packages/material-ui/src/Slider/Slider.test.js b/packages/material-ui/src/Slider/Slider.test.js --- a/packages/material-ui/src/Slider/Slider.test.js +++ b/packages/material-ui/src/Slider/Slider.test.js @@ -1123,4 +1123,47 @@ describe('<Slider />', () => { render(<SliderUnstyled tabIndex={-1} value={30...
[Slider] Allow disabling the left and right thumbs swap <!-- Provide a general summary of the feature in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox shou...
I hope that the left and right bars cannot overlap and the direction cannot be interchanged, but there is no api can do this, please help to add an api to control this, hope to get your reply as soon as possible, thanks~ @SunShinewyf Could you provide more details on your use case? Why do you need this behavior? __EDIT...
2021-03-29 11:43:45+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: ValueLabelComponent receives the formatted value', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> should hedge against a dropped mouseup event', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: max should reach right edge v...
['packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: disableSwap should bound the value when using the keyboard', 'packages/material-ui/src/Slider/Slider.test.js-><Slider /> prop: disableSwap should bound the value when using the mouse']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Slider/Slider.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,567
mui__material-ui-25567
['18200']
fa475e270b5e121c550d41f3141ff5181dbb13f1
diff --git a/packages/material-ui/src/Select/SelectInput.js b/packages/material-ui/src/Select/SelectInput.js --- a/packages/material-ui/src/Select/SelectInput.js +++ b/packages/material-ui/src/Select/SelectInput.js @@ -169,6 +169,11 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) { const han...
diff --git a/packages/material-ui/src/Select/Select.test.js b/packages/material-ui/src/Select/Select.test.js --- a/packages/material-ui/src/Select/Select.test.js +++ b/packages/material-ui/src/Select/Select.test.js @@ -11,10 +11,11 @@ import { fireEvent, screen, } from 'test/utils'; -import MenuItem from '../Men...
[Select] Improve categories support Edit @oliviertassinari ### bug 1 - description: A click on the `ListSubheader` shouldn't trigger the selection. - reproduction: https://material-ui.com/components/selects/#grouping ### bug 2 - description: Only one `ListSubheader` should be visible when scrolling - rep...
@nicks78 Please provide a full reproduction test case. This would help a lot 👷 . A live example would be perfect. [This **codesandbox.io** template](https://codesandbox.io/s/github/callemall/material-ui/tree/master/examples/create-react-app) _may_ be a good starting point. Thank you! https://codesandbox.io/s/create-r...
2021-03-31 13:32:43+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Select/Select.test.js-><Select /> should open menu when pressed ArrowUp key on select', 'packages/material-ui/src/Select/Select.test.js-><Select /> prop: multiple selects value based on their stringified equality when theyre not objects', 'packages/material-ui/src/Select/Select.test.js-><Sele...
['packages/material-ui/src/Select/Select.test.js-><Select /> should only select options']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Select/Select.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,634
mui__material-ui-25634
['25480']
d2e00769d0322dc911dd6237e30ab592aa02cad9
diff --git a/docs/src/pages/components/textarea-autosize/EmptyTextarea.js b/docs/src/pages/components/textarea-autosize/EmptyTextarea.js --- a/docs/src/pages/components/textarea-autosize/EmptyTextarea.js +++ b/docs/src/pages/components/textarea-autosize/EmptyTextarea.js @@ -2,5 +2,11 @@ import * as React from 'react'; ...
diff --git a/packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js b/packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js --- a/packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js +++ b/packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js @@ -130,14 +130,14 @@ des...
[TextareaAutosize] calculates size incorrectly in Firefox When calcualting minumal height based on `rowsMin` prop, resulting textarea is smaller than in Chrome. Additionally, when all rows are filled, width shrinks a bit. - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://...
Ok, so I had a look. I could narrow down the origin to the padding. See this reproduction: https://codesandbox.io/s/material-demo-forked-251xl?file=/demo.tsx ```jsx import React from "react"; import TextareaAutosize from "@material-ui/core/TextareaAutosize"; export default function MinHeightTextarea() { return...
2021-04-06 04:53:14+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js-><TextareaAutosize /> layout resize should handle the resize event', 'packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js-><TextareaAutosize /> Material-UI component API should render without errors in ReactTestRenderer', 'packages/mate...
['packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js-><TextareaAutosize /> layout should take the padding into account with content-box']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/TextareaAutosize/TextareaAutosize.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
3
0
3
false
false
["docs/src/pages/components/textarea-autosize/EmptyTextarea.js->program->function_declaration:EmptyTextarea", "docs/src/pages/components/textarea-autosize/MinHeightTextarea.js->program->function_declaration:MinHeightTextarea", "docs/src/pages/components/textarea-autosize/MaxHeightTextarea.js->program->function_declarat...
mui/material-ui
25,637
mui__material-ui-25637
['25559']
d2e00769d0322dc911dd6237e30ab592aa02cad9
diff --git a/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js b/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js --- a/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js +++ b/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js @@ -56,7 +56,7 @@...
diff --git a/packages/material-ui-styles/src/makeStyles/makeStyles.test.js b/packages/material-ui-styles/src/makeStyles/makeStyles.test.js --- a/packages/material-ui-styles/src/makeStyles/makeStyles.test.js +++ b/packages/material-ui-styles/src/makeStyles/makeStyles.test.js @@ -129,6 +129,37 @@ describe('makeStyles', (...
[styles] Outdated warning message <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this: [x] -...
@zizizheng Do you have a reproduction? On a different note, the warning is outdated, we should apply this diff: ```diff diff --git a/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js b/packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js index 7dae571aec..246c89d1f1 100644 --...
2021-04-06 08:27:36+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-styles/src/makeStyles/makeStyles.test.js->makeStyles classes memoization should recycle even when a classes prop is provided', 'packages/material-ui-styles/src/makeStyles/makeStyles.test.js->makeStyles classname quality should use the displayName', 'packages/material-ui-styles/src/makeStyles/make...
['packages/material-ui-styles/src/makeStyles/makeStyles.test.js->makeStyles warnings should warn if the key is not available']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-styles/src/makeStyles/makeStyles.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui-styles/src/getStylesCreator/getStylesCreator.js->program->function_declaration:getStylesCreator"]
mui/material-ui
25,645
mui__material-ui-25645
['25533']
cd8a42d8f76088b3767e48066f3133e9abdfe679
diff --git a/packages/material-ui/src/Rating/Rating.js b/packages/material-ui/src/Rating/Rating.js --- a/packages/material-ui/src/Rating/Rating.js +++ b/packages/material-ui/src/Rating/Rating.js @@ -310,7 +310,7 @@ const Rating = React.forwardRef(function Rating(inProps, ref) { }; const handleChange = (event) =...
diff --git a/packages/material-ui/src/Rating/Rating.test.js b/packages/material-ui/src/Rating/Rating.test.js --- a/packages/material-ui/src/Rating/Rating.test.js +++ b/packages/material-ui/src/Rating/Rating.test.js @@ -84,6 +84,13 @@ describe('<Rating />', () => { expect(checked.value).to.equal('2'); }); + i...
[Rating] clearing rating is not possible with keyboard <!-- Provide a general summary of the issue in the Title above --> On Rating component, you can clear (set rating to 0) by selecting same rating twice using pointer. Setting rating to 0 is not possible with keyboard usage <!-- Thank you very much for contribu...
In the initial design of the component, the cleared state was only supported as an initial state. Later on, we added the "click twice to clear" interaction. I guess we could follow the direction proposed in this issue. This is what is done in https://www.w3.org/WAI/tutorials/forms/custom-controls/#a-star-rating. As ...
2021-04-07 08:34:09+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Rating/Rating.test.js-><Rating /> prop: readOnly can be labelled with getLabelText', 'packages/material-ui/src/Rating/Rating.test.js-><Rating /> has a customization point for the label of the empty value when it is active', "packages/material-ui/src/Rating/Rating.test.js-><Rating /> Material-...
['packages/material-ui/src/Rating/Rating.test.js-><Rating /> should change the value to null']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha test/e2e/index.test.ts test/e2e/fixtures/Rating/BasicRating.tsx packages/material-ui/src/Rating/Rating.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,784
mui__material-ui-25784
['25528']
b3c85de69ddf15a4a2e21b78b13e4c066b94ca2d
diff --git a/docs/pages/api-docs/unstable-trap-focus.json b/docs/pages/api-docs/unstable-trap-focus.json --- a/docs/pages/api-docs/unstable-trap-focus.json +++ b/docs/pages/api-docs/unstable-trap-focus.json @@ -1,13 +1,19 @@ { "props": { - "getDoc": { "type": { "name": "func" }, "required": true }, - "isEnabl...
diff --git a/packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js b/packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js --- a/packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js +++ b/packages/material-ui-unstyled/src/Unstable_TrapFocus/...
[TrapFocus] Improve props - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Summary 💡 1. Have `() => document` as the default prop value of `<TrapFocus getDoc />`. 2. Have `() => true` as the default prop value of `<...
While looking at the TrapFocus [page](https://next.material-ui.com/components/trap-focus/) I noticed that the keys are not visible on the dark theme. Since the docs will be updated this could be fixed too. ![image](https://user-images.githubusercontent.com/42154031/112728903-3bc1d080-8f08-11eb-8a77-581e5fe6f393.png)...
2021-04-15 22:59:43+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js-><TrapFocus /> interval prop: disableAutoFocus should not trap', 'packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js-><TrapFocus /> does not steal focus from a portaled element if any prop but open changes', '...
['packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js-><TrapFocus /> should warn if the root content is not focusable', 'packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js-><TrapFocus /> should not return focus to the children when disableEnforceFocus is true', '...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.test.js --reporter /testbed/custom-reporter.js --exit
Refactoring
false
true
false
false
7
0
7
false
false
["docs/src/pages/components/trap-focus/PortalTrapFocus.js->program->function_declaration:PortalTrapFocus", "docs/src/pages/components/trap-focus/DisableEnforceFocus.js->program->function_declaration:DisableEnforceFocus", "packages/material-ui-unstyled/src/Unstable_TrapFocus/Unstable_TrapFocus.js->program->function_decl...
mui/material-ui
25,815
mui__material-ui-25815
['25814']
a14696593902fd422b8f759d45b1b7ee409223f1
diff --git a/packages/material-ui/src/NativeSelect/NativeSelect.js b/packages/material-ui/src/NativeSelect/NativeSelect.js --- a/packages/material-ui/src/NativeSelect/NativeSelect.js +++ b/packages/material-ui/src/NativeSelect/NativeSelect.js @@ -1,4 +1,5 @@ import * as React from 'react'; +import clsx from 'clsx'; i...
diff --git a/packages/material-ui/src/NativeSelect/NativeSelect.test.js b/packages/material-ui/src/NativeSelect/NativeSelect.test.js --- a/packages/material-ui/src/NativeSelect/NativeSelect.test.js +++ b/packages/material-ui/src/NativeSelect/NativeSelect.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import ...
[Select] className of input is overwritten if styled Select <!-- Provide a general summary of the issue in the Title above --> If styled Select and pass `input` as props with className specified, the className is not applied as expected. ```js const TablePaginationSelect = experimentalStyled( Select, {}, {...
null
2021-04-17 15:34:44+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Select/Select.test.js-><Select /> should open menu when pressed ArrowUp key on select', 'packages/material-ui/src/Select/Select.test.js-><Select /> prop: multiple selects value based on their stringified equality when theyre not objects', 'packages/material-ui/src/NativeSelect/NativeSelect.te...
['packages/material-ui/src/Select/Select.test.js-><Select /> should merge the class names', 'packages/material-ui/src/NativeSelect/NativeSelect.test.js-><NativeSelect /> styled NativeSelect with custom input should not overwritten className']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Select/Select.test.js packages/material-ui/src/NativeSelect/NativeSelect.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,825
mui__material-ui-25825
['25808']
d687a88c1f4377b848730782890823c59de996e5
diff --git a/packages/material-ui/src/styles/colorManipulator.js b/packages/material-ui/src/styles/colorManipulator.js --- a/packages/material-ui/src/styles/colorManipulator.js +++ b/packages/material-ui/src/styles/colorManipulator.js @@ -59,7 +59,7 @@ export function rgbToHex(color) { } const { values } = deco...
diff --git a/packages/material-ui/src/styles/colorManipulator.test.js b/packages/material-ui/src/styles/colorManipulator.test.js --- a/packages/material-ui/src/styles/colorManipulator.test.js +++ b/packages/material-ui/src/styles/colorManipulator.test.js @@ -81,6 +81,10 @@ describe('utils/colorManipulator', () => { ...
rgba to hex doesn't work Function hexToRgb supports hex values with alpha channel, but rgbToHex doesn't. <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like this: ...
@igaponov Thanks for the report, the proposed solution looks great, feel free to work on a pull request :)
2021-04-18 07:01:07+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/styles/colorManipulator.test.js->utils/colorManipulator alpha converts an rgb color to an rgba color with the value provided', 'packages/material-ui/src/styles/colorManipulator.test.js->utils/colorManipulator hexToRgb converts a long alpha hex color to an argb color` ', 'packages/material-ui/...
['packages/material-ui/src/styles/colorManipulator.test.js->utils/colorManipulator rgbToHex converts an rgba color to a hex color` ']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/styles/colorManipulator.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/styles/colorManipulator.js->program->function_declaration:rgbToHex"]
mui/material-ui
25,874
mui__material-ui-25874
['21593']
a4d8c4ffadca14ebb941003082e607a96eacb409
diff --git a/docs/pages/api-docs/loading-button.json b/docs/pages/api-docs/loading-button.json --- a/docs/pages/api-docs/loading-button.json +++ b/docs/pages/api-docs/loading-button.json @@ -3,12 +3,12 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "disabled":...
diff --git a/packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js b/packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js --- a/packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js +++ b/packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js @@ -33,37 +33,37 @@ describe('<Lo...
[Button] Change LoadingButton prop pending to loading I'm very happy to see the new pre-release [v5.0.0-alpha.1](https://github.com/mui-org/material-ui/releases/tag/v5.0.0-alpha.1). I noticed something: - The `Autocomplete` component has a prop called `loading`. - The `LoadingButton` component has a prop called `pe...
Thanks for raising this API inconsistency, much appreciated. I believe the closest prior discussion we have is in https://github.com/mui-org/material-ui/pull/21389#discussion_r438994929 with @mnajdova and @eps1lon. Looking at the semantic, we have: - **pending**: "about to happen or waiting to happen" https://dictio...
2021-04-21 22:28:59+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js-><LoadingButton /> is in tab-order by default', 'packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js-><LoadingButton /> Material-UI component API ref attaches the ref', 'packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js-><Loa...
['packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js-><LoadingButton /> prop: loading disables the button', 'packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js-><LoadingButton /> prop: loading cannot be enabled while `loading`', 'packages/material-ui-lab/src/LoadingButton/LoadingButton.test....
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/LoadingButton/LoadingButton.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
3
0
3
false
false
["docs/src/pages/components/buttons/LoadingButtonsTransition.js->program->function_declaration:LoadingButtonsTransition", "docs/src/pages/components/buttons/LoadingButtons.js->program->function_declaration:LoadingButtons", "docs/src/pages/components/buttons/LoadingButtonsTransition.js->program->function_declaration:Loa...
mui/material-ui
25,883
mui__material-ui-25883
['25879']
36c1e08520f8add7bdc341825d44f50d59ceab83
diff --git a/docs/pages/api-docs/form-control-label.json b/docs/pages/api-docs/form-control-label.json --- a/docs/pages/api-docs/form-control-label.json +++ b/docs/pages/api-docs/form-control-label.json @@ -3,7 +3,9 @@ "control": { "type": { "name": "element" }, "required": true }, "checked": { "type": { "nam...
diff --git a/packages/material-ui/src/FormControlLabel/FormControlLabel.test.js b/packages/material-ui/src/FormControlLabel/FormControlLabel.test.js --- a/packages/material-ui/src/FormControlLabel/FormControlLabel.test.js +++ b/packages/material-ui/src/FormControlLabel/FormControlLabel.test.js @@ -6,6 +6,7 @@ import Fo...
FormControlLabel should offer typography options FormControlLabel offers no option to customize the typography variant. https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/FormControlLabel/FormControlLabel.js#L104 - [x] I have searched the [issues](https://github.com/mui-org/material-ui/i...
We have faced a similar problem in the past. So far (in the history of the project), we have used 4 options: 1. Nesting of two typography, one from the component, another from the developer. 2. Disabled prop https://github.com/mui-org/material-ui/blob/018118626718d2f4c86212699912700682d80956/packages/material-ui/s...
2021-04-22 10:33:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/FormControlLabel/FormControlLabel.test.js-><FormControlLabel /> prop: disabled should disable everything 1', 'packages/material-ui/src/FormControlLabel/FormControlLabel.test.js-><FormControlLabel /> with FormControl enabled should be overridden by props', 'packages/material-ui/src/FormControl...
['packages/material-ui/src/FormControlLabel/FormControlLabel.test.js-><FormControlLabel /> componentProps: typography should spread its contents to the typography element', 'packages/material-ui/src/FormControlLabel/FormControlLabel.test.js-><FormControlLabel /> prop: disableTypography should not add a typography compo...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/FormControlLabel/FormControlLabel.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
25,937
mui__material-ui-25937
['25901']
fc7a1dc466b8211e63637d78071103344e402868
diff --git a/packages/material-ui/src/Stack/Stack.js b/packages/material-ui/src/Stack/Stack.js --- a/packages/material-ui/src/Stack/Stack.js +++ b/packages/material-ui/src/Stack/Stack.js @@ -42,7 +42,7 @@ function resolveBreakpointValues({ values, base }) { return keys.reduce((acc, breakpoint) => { if (typeof...
diff --git a/packages/material-ui/src/Stack/Stack.test.js b/packages/material-ui/src/Stack/Stack.test.js --- a/packages/material-ui/src/Stack/Stack.test.js +++ b/packages/material-ui/src/Stack/Stack.test.js @@ -109,6 +109,39 @@ describe('<Stack />', () => { }); }); + it('should handle spacing with multiple k...
[Stack] Ignored spacing with ResponsiveStyleValue and zero value <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkb...
@simonecervini Thanks for raising the issue. It seems that we need to handle the falsy values. What do you think about this diff? Do you want to work on a pull request? :) ```diff diff --git a/packages/material-ui/src/Stack/Stack.js b/packages/material-ui/src/Stack/Stack.js index 424800c879..82180595bd 100644 ---...
2021-04-24 15:10:19+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Stack/Stack.test.js-><Stack /> should handle direction with multiple keys and spacing with one', 'packages/material-ui/src/Stack/Stack.test.js-><Stack /> Material-UI component API applies the className to the root component', 'packages/material-ui/src/Stack/Stack.test.js-><Stack /> Material-U...
['packages/material-ui/src/Stack/Stack.test.js-><Stack /> should handle spacing with multiple keys and null values']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Stack/Stack.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/Stack/Stack.js->program->function_declaration:resolveBreakpointValues"]
mui/material-ui
26,061
mui__material-ui-26061
['25923']
5a983eadb806ba095de2a2754b208d470e3f55e7
diff --git a/packages/material-ui/src/Tabs/Tabs.js b/packages/material-ui/src/Tabs/Tabs.js --- a/packages/material-ui/src/Tabs/Tabs.js +++ b/packages/material-ui/src/Tabs/Tabs.js @@ -15,6 +15,54 @@ import ScrollbarSize from './ScrollbarSize'; import TabScrollButton from '../TabScrollButton'; import useEventCallback f...
diff --git a/packages/material-ui/src/Tabs/Tabs.test.js b/packages/material-ui/src/Tabs/Tabs.test.js --- a/packages/material-ui/src/Tabs/Tabs.test.js +++ b/packages/material-ui/src/Tabs/Tabs.test.js @@ -900,6 +900,33 @@ describe('<Tabs />', () => { expect(handleKeyDown.callCount).to.equal(1); ...
[Tabs] When a Tab is disabled, keyboard traversal is stuck <!-- Provide a general summary of the issue in the Title above --> Normally keyboard users will tab into a Tabs group, then use either Left/Right (if horizontal tab) or Up/Down (vertical) to traverse the Tabs and according to [WAI aria practices](https://www.w...
Thanks for the report. Confirmed with pinned versions and frozen: https://codesandbox.io/s/basictabs-material-demo-forked-j5evk?file=/package.json This looks like an easy bug to fix. We handle this twice already: https://github.com/mui-org/material-ui/blob/54efc0ec383297b2900e8a8a2efa24d692bffd25/packages/materia...
2021-04-29 19:09:03+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a tab regardless of orientation Home moves focus to the first tab without activating it', 'packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a...
['packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a tab element in a vertical undefined tablist ArrowUp skips over disabled tabs', 'packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a tab rega...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Tabs/Tabs.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,098
mui__material-ui-26098
['26027']
36c1e08520f8add7bdc341825d44f50d59ceab83
diff --git a/packages/material-ui-styled-engine-sc/package.json b/packages/material-ui-styled-engine-sc/package.json --- a/packages/material-ui-styled-engine-sc/package.json +++ b/packages/material-ui-styled-engine-sc/package.json @@ -34,7 +34,7 @@ "build:copy-files": "node ../../scripts/copy-files.js", "preb...
diff --git a/packages/material-ui-styled-engine-sc/src/styled.test.js b/packages/material-ui-styled-engine-sc/src/styled.test.js new file mode 100644 --- /dev/null +++ b/packages/material-ui-styled-engine-sc/src/styled.test.js @@ -0,0 +1,26 @@ +import { expect } from 'chai'; +import styled from './index'; + +describe('...
[Table] TablePagination broken when using @material-ui/styled-engine-sc In the latest alpha 5.0.0-alpha.32, after TablePagination was updated to emotion (https://github.com/mui-org/material-ui/pull/25809), it breaks with some styled-components errors when using styled-engine-sc. <!-- Checked checkbox should look lik...
I could simplify the reproduction: https://codesandbox.io/s/styled-components-forked-fo7wm. The issue is here: https://github.com/mui-org/material-ui/blob/2c7d5feea7c0780ea8211de1629d757932895e11/packages/material-ui/src/TablePagination/TablePagination.js#L122 How about the following uniformization? ```diff d...
2021-05-03 03:37:55+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/NativeSelect/NativeSelect.test.js-><NativeSelect /> styled NativeSelect with custom input should not overwritten className', 'packages/material-ui/src/NativeSelect/NativeSelect.test.js-><NativeSelect /> Material-UI component API spreads props to the root component', 'packages/material-ui/src/...
['packages/material-ui-styled-engine/src/styled.test.js->styled should help debug wrong args', 'packages/material-ui-styled-engine-sc/src/styled.test.js->styled should help debug wrong args']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/NativeSelect/NativeSelect.test.js packages/material-ui-styled-engine/src/styled.test.js packages/material-ui-styled-engine-sc/src/styled.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
2
0
2
false
false
["packages/material-ui-styled-engine-sc/src/index.js->program->function_declaration:styled", "packages/material-ui-styled-engine/src/index.js->program->function_declaration:styled"]
mui/material-ui
26,170
mui__material-ui-26170
['26166']
215794b567669951a61183d748c0b2be6483c3ea
diff --git a/docs/pages/api-docs/tab-list.json b/docs/pages/api-docs/tab-list.json --- a/docs/pages/api-docs/tab-list.json +++ b/docs/pages/api-docs/tab-list.json @@ -1,5 +1,5 @@ { - "props": { "children": { "type": { "name": "arrayOf", "description": "Array&lt;element&gt;" } } }, + "props": { "children": { "type": ...
diff --git a/packages/material-ui-lab/src/TabList/TabList.test.js b/packages/material-ui-lab/src/TabList/TabList.test.js --- a/packages/material-ui-lab/src/TabList/TabList.test.js +++ b/packages/material-ui-lab/src/TabList/TabList.test.js @@ -49,4 +49,15 @@ describe('<TabList />', () => { expect(tabOne).to.have.at...
[TabList] Conditional rendering of Tab fails <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look like ...
null
2021-05-06 20:57:48+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/TabList/TabList.test.js-><TabList /> Material-UI component API applies the className to the root component', 'packages/material-ui-lab/src/TabList/TabList.test.js-><TabList /> Material-UI component API prop: component can render another root component with the `component` prop', 'packages...
['packages/material-ui-lab/src/TabList/TabList.test.js-><TabList /> should accept a null child']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/TabList/TabList.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,173
mui__material-ui-26173
['24855']
205258b56faf4ac8096d10b62e22458dab52fb8e
diff --git a/docs/pages/api-docs/autocomplete.json b/docs/pages/api-docs/autocomplete.json --- a/docs/pages/api-docs/autocomplete.json +++ b/docs/pages/api-docs/autocomplete.json @@ -40,12 +40,12 @@ "type": { "name": "func" }, "default": "(option) => option.label ?? option" }, - "getOptionSelected...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -1237,7 +1237,7 @@ describe('<Autocomplete />', () => ...
[Autocomplete] Rename getOptionSelected to optionEqualValue <!-- Provide a general summary of the feature in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox ...
Would recommend using `optionEqualsValue` or `isOptionEqualToValue` to use natural language (just like React has `arePropsEqual`). @mbrookes a preference? I'd say most fields on the autocomplete would benefit from a rename. It's really hard to tell what the role of anything is just by looking at the name. I even ha...
2021-05-06 23:53:54+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong', 'packages/material-u...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if isOptionEqualToValue match multiple values for a given option']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Refactoring
false
true
false
false
2
0
2
false
false
["docs/src/pages/components/autocomplete/Asynchronous.js->program->function_declaration:Asynchronous", "packages/material-ui/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
26,181
mui__material-ui-26181
['19692']
18dea79eab94a6422c85c42fc68339c859d690fa
diff --git a/docs/src/pages/guides/migration-v4/migration-v4.md b/docs/src/pages/guides/migration-v4/migration-v4.md --- a/docs/src/pages/guides/migration-v4/migration-v4.md +++ b/docs/src/pages/guides/migration-v4/migration-v4.md @@ -411,6 +411,13 @@ As the core components use emotion as a styled engine, the props use...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -19,7 +19,7 @@ import Autocomplete, { } from '@materi...
[Autocomplete] can't change option highlight color - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 The Autocomplete component uses a very light def...
@jdoklovic Thanks for opening this issue. This raises interesting underlying concerns. I see a couple of dimensions to it. 1. **attribute**. I'm not aware of any cases, across all our components, where we use `data-` attributes to solve this problem. Maybe I was too influenced when benchmarking Reach UI. So, in this...
2021-05-07 15:08:15+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong', 'packages/material-u...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: autoHighlight should set the highlight on selected item when dropdown is expanded', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should reset the highlight when the options chang...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
26,186
mui__material-ui-26186
['25313']
8ef7d1cbfbbb03e27addf356f0e7d57033b4ef0b
diff --git a/docs/pages/api-docs/native-select.json b/docs/pages/api-docs/native-select.json --- a/docs/pages/api-docs/native-select.json +++ b/docs/pages/api-docs/native-select.json @@ -1,7 +1,7 @@ { "props": { "children": { "type": { "name": "node" } }, - "classes": { "type": { "name": "object" } }, + ...
diff --git a/packages/material-ui/src/NativeSelect/NativeSelect.test.js b/packages/material-ui/src/NativeSelect/NativeSelect.test.js --- a/packages/material-ui/src/NativeSelect/NativeSelect.test.js +++ b/packages/material-ui/src/NativeSelect/NativeSelect.test.js @@ -27,7 +27,7 @@ describe('<NativeSelect />', () => { ...
[Select] classes provided are directed to the input element instead of the root <!-- Checked checkbox should look like this: [x] --> - [x ] The issue is present in the latest release. - [x ] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a...
null
2021-05-07 18:52:46+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Select/Select.test.js-><Select /> should open menu when pressed ArrowUp key on select', 'packages/material-ui/src/Select/Select.test.js-><Select /> prop: multiple selects value based on their stringified equality when theyre not objects', 'packages/material-ui/src/NativeSelect/NativeSelect.te...
['packages/material-ui/src/Select/Select.test.js-><Select /> Material-UI component API applies the root class to the root component if it has this class', 'packages/material-ui/src/NativeSelect/NativeSelect.test.js-><NativeSelect /> Material-UI component API applies the root class to the root component if it has this c...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Select/Select.test.js packages/material-ui/src/NativeSelect/NativeSelect.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,231
mui__material-ui-26231
['26157']
b5f12b03ddff2fc4720be473c7ea2cbc61ca11ef
diff --git a/packages/material-ui/src/FilledInput/FilledInput.js b/packages/material-ui/src/FilledInput/FilledInput.js --- a/packages/material-ui/src/FilledInput/FilledInput.js +++ b/packages/material-ui/src/FilledInput/FilledInput.js @@ -21,7 +21,12 @@ const useUtilityClasses = (styleProps) => { input: ['input'],...
diff --git a/packages/material-ui/src/FilledInput/FilledInput.test.js b/packages/material-ui/src/FilledInput/FilledInput.test.js --- a/packages/material-ui/src/FilledInput/FilledInput.test.js +++ b/packages/material-ui/src/FilledInput/FilledInput.test.js @@ -32,4 +32,9 @@ describe('<FilledInput />', () => { const ...
[TextField] classes is not forwarded correctly on FilledInput <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox ...
Thanks for the report @nuanyang233. There are two problems regarding the issue. The first one, we need to pass all classes to the `InputCommponent` in the `FilledInput` x other input components (`OutlinedInput`, `Input`). This diff should help out with this specific use-case: ```diff --git a/packages/material-ui/src...
2021-05-10 10:18:16+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Input/Input.test.js-><Input /> Material-UI component API should render without errors in ReactTestRenderer', 'packages/material-ui/src/Input/Input.test.js-><Input /> Material-UI component API spreads props to the root component', 'packages/material-ui/src/FilledInput/FilledInput.test.js-><Fil...
['packages/material-ui/src/FilledInput/FilledInput.test.js-><FilledInput /> should forward classes to InputBase']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/FilledInput/FilledInput.test.js packages/material-ui/src/Input/Input.test.js packages/material-ui/src/OutlinedInput/OutlinedInput.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,323
mui__material-ui-26323
['19696']
bb0bbe22d77dabe69cd6cd64971158aaa70068c4
diff --git a/docs/pages/api-docs/dialog-title.json b/docs/pages/api-docs/dialog-title.json --- a/docs/pages/api-docs/dialog-title.json +++ b/docs/pages/api-docs/dialog-title.json @@ -2,13 +2,12 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disa...
diff --git a/packages/material-ui/src/DialogTitle/DialogTitle.test.js b/packages/material-ui/src/DialogTitle/DialogTitle.test.js --- a/packages/material-ui/src/DialogTitle/DialogTitle.test.js +++ b/packages/material-ui/src/DialogTitle/DialogTitle.test.js @@ -8,18 +8,18 @@ describe('<DialogTitle />', () => { descri...
[Dialog] Flatten DialogTitle DOM structure ## Summary 💡 `DialogTitle` should be flatter ## Examples 🌈 - https://codesandbox.io/s/old-pond-bpjb9 ## Motivation 🔦 - Aligning items of the title ```jsx <DialogTitle style={ display: 'flex', alignItems: 'center' }> <SomeIcon /> My Title </Dial...
Always in favor of removing DOM nodes when possible. In this case, would it still allow developers to use a close button in the header? would it still allow a border-bottom on the element? I imagine it would in both cases. > In this case, would it still allow developers to use a close button in the header? would it s...
2021-05-16 07:03:20+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/DialogTitle/DialogTitle.test.js-><DialogTitle /> should render string children as given string', 'packages/material-ui/src/DialogTitle/DialogTitle.test.js-><DialogTitle /> Material-UI component API should render without errors in ReactTestRenderer', 'packages/material-ui/src/DialogTitle/Dialo...
['packages/material-ui/src/DialogTitle/DialogTitle.test.js-><DialogTitle /> Material-UI component API spreads props to the root component', 'packages/material-ui/src/DialogTitle/DialogTitle.test.js-><DialogTitle /> Material-UI component API ref attaches the ref']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/DialogTitle/DialogTitle.test.js --reporter /testbed/custom-reporter.js --exit
Refactoring
false
true
false
false
3
0
3
false
false
["docs/src/pages/components/dialogs/CustomizedDialogs.js->program->function_declaration:CustomizedDialogs", "docs/src/modules/utils/defaultPropsHandler.js->program->function_declaration:getPropsPath", "docs/src/pages/components/dialogs/SimpleDialog.js->program->function_declaration:SimpleDialog"]
mui/material-ui
26,413
mui__material-ui-26413
['26404']
2ec75363c13a6646499df0516a94d808e57f354b
diff --git a/packages/material-ui-lab/src/TreeView/TreeView.js b/packages/material-ui-lab/src/TreeView/TreeView.js --- a/packages/material-ui-lab/src/TreeView/TreeView.js +++ b/packages/material-ui-lab/src/TreeView/TreeView.js @@ -198,22 +198,20 @@ const TreeView = React.forwardRef(function TreeView(inProps, ref) { ...
diff --git a/packages/material-ui-lab/src/TreeView/TreeView.test.js b/packages/material-ui-lab/src/TreeView/TreeView.test.js --- a/packages/material-ui-lab/src/TreeView/TreeView.test.js +++ b/packages/material-ui-lab/src/TreeView/TreeView.test.js @@ -68,6 +68,24 @@ describe('<TreeView />', () => { fireEvent.clic...
TreeView with multiSelect fails across deeply nested children. <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox...
null
2021-05-21 16:20:25+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/TreeView/TreeView.test.js-><TreeView /> should call onFocus when tree is focused', 'packages/material-ui-lab/src/TreeView/TreeView.test.js-><TreeView /> Accessibility (TreeView) should have the role `tree`', 'packages/material-ui-lab/src/TreeView/TreeView.test.js-><TreeView /> should supp...
['packages/material-ui-lab/src/TreeView/TreeView.test.js-><TreeView /> warnings should not crash when selecting multiple items in a deeply nested tree']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/TreeView/TreeView.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,460
mui__material-ui-26460
['21503']
bb0bbe22d77dabe69cd6cd64971158aaa70068c4
diff --git a/docs/pages/api-docs/checkbox.json b/docs/pages/api-docs/checkbox.json --- a/docs/pages/api-docs/checkbox.json +++ b/docs/pages/api-docs/checkbox.json @@ -40,7 +40,7 @@ "spread": true, "forwardsRefTo": "HTMLSpanElement", "filename": "/packages/material-ui/src/Checkbox/Checkbox.js", - "inheritance"...
diff --git a/packages/material-ui/src/Checkbox/Checkbox.test.js b/packages/material-ui/src/Checkbox/Checkbox.test.js --- a/packages/material-ui/src/Checkbox/Checkbox.test.js +++ b/packages/material-ui/src/Checkbox/Checkbox.test.js @@ -4,7 +4,7 @@ import { spy } from 'sinon'; import { createMount, describeConformanceV5...
Can't override IconButton styles in theme without affecting Checkbox and Switch - [X] The issue is present in the latest release. - [X] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 Any changes to Ic...
@depiction What change are you making that should only affect IconButton? A wrapper component may be more appropriate. @mbrookes I changed the styles for all three variants to match my project's design (default, primary, secondary). The size, color, background color, border color, and border radius change based on the ...
2021-05-26 08:27:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Checkbox/Checkbox.test.js-><Checkbox /> Material-UI component API applies the className to the root component', 'packages/material-ui/src/internal/SwitchBase.test.js-><SwitchBase /> Material-UI component API applies the className to the root component', 'packages/material-ui/src/Radio/Radio.t...
['packages/material-ui/src/internal/SwitchBase.test.js-><SwitchBase /> should render an icon and input inside the button by default', 'packages/material-ui/src/internal/SwitchBase.test.js-><SwitchBase /> can have edge']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/internal/SwitchBase.test.js packages/material-ui/src/Checkbox/Checkbox.test.js packages/material-ui/src/Radio/Radio.test.js --reporter /testbed/custom-reporter.js --exit
Refactoring
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,470
mui__material-ui-26470
['26450']
3e66b977cbadc8e688a6041b774db9695c34b654
diff --git a/docs/src/pages/components/tabs/ScrollableTabsButtonAuto.js b/docs/src/pages/components/tabs/ScrollableTabsButtonAuto.js --- a/docs/src/pages/components/tabs/ScrollableTabsButtonAuto.js +++ b/docs/src/pages/components/tabs/ScrollableTabsButtonAuto.js @@ -11,7 +11,7 @@ export default function ScrollableTabsB...
diff --git a/packages/material-ui/src/Tabs/Tabs.test.js b/packages/material-ui/src/Tabs/Tabs.test.js --- a/packages/material-ui/src/Tabs/Tabs.test.js +++ b/packages/material-ui/src/Tabs/Tabs.test.js @@ -263,6 +263,52 @@ describe('<Tabs />', () => { expect(style.left).to.equal('60px'); expect(style.wid...
Tab indicator Animates from the left on RTL When RTL is enabled in the theme, the tab indicator animates in from/to the far left the same as it animates when RTL is off. This looks odd, and should be changed when RTL is on to animate in from the right. Reviewing the code https://github.com/mui-org/material-ui/blob...
null
2021-05-27 09:58:45+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a tab regardless of orientation Home moves focus to the first tab without activating it', 'packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> keyboard navigation when focus is on a tab when focus is on a...
['packages/material-ui/src/Tabs/Tabs.test.js-><Tabs /> prop: value indicator should have "right" for RTL']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Tabs/Tabs.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
4
0
4
false
false
["docs/src/pages/components/tabs/ScrollableTabsButtonVisible.js->program->function_declaration:ScrollableTabsButtonVisible", "docs/src/pages/components/tabs/ScrollableTabsButtonAuto.js->program->function_declaration:ScrollableTabsButtonAuto", "docs/src/pages/components/tabs/ScrollableTabsButtonPrevent.js->program->func...
mui/material-ui
26,555
mui__material-ui-26555
['18776', '26288']
6f43dd902de99947af7938af5cb61543c6797ca3
diff --git a/docs/src/modules/components/MarkdownElement.js b/docs/src/modules/components/MarkdownElement.js --- a/docs/src/modules/components/MarkdownElement.js +++ b/docs/src/modules/components/MarkdownElement.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'c...
diff --git a/packages/material-ui/src/FormLabel/FormLabel.test.js b/packages/material-ui/src/FormLabel/FormLabel.test.js --- a/packages/material-ui/src/FormLabel/FormLabel.test.js +++ b/packages/material-ui/src/FormLabel/FormLabel.test.js @@ -4,6 +4,8 @@ import { expect } from 'chai'; import { createMount, describeCon...
[theme] Improve default theme dark colors - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 The primary and secondary colors are identical between ...
The link inherits its color from the parent elements. You need to make sure the color change. You have a couple of options. You should be able to find a more detailed answer on StackOverflow or in this bug & feature tracker (I believe it's a duplicate). I couldn't find the duplicated issue. So, you have the options bet...
2021-06-02 07:49:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/styles/createPalette.test.js->createPalette() should calculate light and dark colors if not provided', 'packages/material-ui/src/styles/createPalette.test.js->createPalette() should create a palette with custom colors', 'packages/material-ui/src/FormLabel/FormLabel.test.js-><FormLabel /> Mate...
['packages/material-ui/src/styles/createPalette.test.js->createPalette() warnings logs an error when the contrast ratio does not reach AA', 'packages/material-ui/src/styles/createPalette.test.js->createPalette() should create a dark palette']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/styles/createPalette.test.js packages/material-ui/src/FormLabel/FormLabel.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
4
0
4
false
false
["packages/material-ui/src/styles/createPalette.js->program->function_declaration:getDefaultPrimary", "packages/material-ui/src/styles/createPalette.js->program->function_declaration:createPalette", "packages/material-ui/src/styles/createPalette.js->program->function_declaration:getDefaultError", "packages/material-ui/...
mui/material-ui
26,560
mui__material-ui-26560
['26538']
6f43dd902de99947af7938af5cb61543c6797ca3
diff --git a/packages/material-ui/src/Popover/Popover.js b/packages/material-ui/src/Popover/Popover.js --- a/packages/material-ui/src/Popover/Popover.js +++ b/packages/material-ui/src/Popover/Popover.js @@ -14,6 +14,7 @@ import useThemeProps from '../styles/useThemeProps'; import debounce from '../utils/debounce'; im...
diff --git a/packages/material-ui/src/Popover/Popover.test.js b/packages/material-ui/src/Popover/Popover.test.js --- a/packages/material-ui/src/Popover/Popover.test.js +++ b/packages/material-ui/src/Popover/Popover.test.js @@ -254,6 +254,23 @@ describe('<Popover />', () => { }); }); + describe('PaperProps.re...
[Popover/Menu] Trying to get a ref to the paper element breaks Popover/Menu - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 If you try to get a r...
Thanks for the report. We have a built-in utility called `useForkRef` which should be able to resolve this issue.
2021-06-02 14:18:58+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
["packages/material-ui/src/Popover/Popover.test.js-><Popover /> root node getOffsetTop should return rect.height if vertical is 'bottom'", 'packages/material-ui/src/Popover/Popover.test.js-><Popover /> paper should have a elevation prop passed down', 'packages/material-ui/src/Popover/Popover.test.js-><Popover /> positi...
['packages/material-ui/src/Popover/Popover.test.js-><Popover /> PaperProps.ref should position popover correctly']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Popover/Popover.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,576
mui__material-ui-26576
['26453']
8462b3d390d06a44d20fb70301470f5f24750fed
diff --git a/docs/src/pages/guides/routing/ButtonDemo.js b/docs/src/pages/guides/routing/ButtonDemo.js --- a/docs/src/pages/guides/routing/ButtonDemo.js +++ b/docs/src/pages/guides/routing/ButtonDemo.js @@ -1,15 +1,10 @@ import * as React from 'react'; -import Box from '@material-ui/core/Box'; import Button from '@ma...
diff --git a/packages/material-ui/src/ButtonBase/ButtonBase.test.js b/packages/material-ui/src/ButtonBase/ButtonBase.test.js --- a/packages/material-ui/src/ButtonBase/ButtonBase.test.js +++ b/packages/material-ui/src/ButtonBase/ButtonBase.test.js @@ -133,7 +133,7 @@ describe('<ButtonBase />', () => { expect(butt...
[docs] missing role="link" for Button with Link <!-- Provide a general summary of the issue in the Title above --> Using the documented way of creating links styled as buttons as seen in https://next.material-ui.com/guides/routing/#button adds wrong role on the rendered element. Specifically it adds `role="button"` ma...
Nice, do you want to submit a PR. I think it can be added to https://next.material-ui.com/guides/routing/#button in `Button` and `List` code example The file in the codebase is `docs/src/pages/guides/routing/routing.md` What about this heuristic (in the ButtonBase)? ```diff diff --git a/docs/src/pages/guides/r...
2021-06-03 07:21:16+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions should restart the ripple when the mouse is pressed again', 'packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> prop: disabled should forward it to native buttons', 'packages/material-ui/src/ButtonBase/Butto...
['packages/material-ui/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> root node should not add role="button" if custom component and to are used']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/ButtonBase/ButtonBase.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
4
0
4
false
false
["docs/src/pages/guides/routing/ButtonRouter.js->program->function_declaration:ButtonRouter", "docs/src/pages/guides/routing/ButtonDemo.js->program->function_declaration:ButtonDemo", "docs/src/pages/guides/routing/LinkDemo.js->program->function_declaration:LinkDemo", "docs/src/pages/guides/routing/ListRouter.js->progra...
mui/material-ui
26,600
mui__material-ui-26600
['26531']
1e9eda08729e3c51f081116c2f6b38816de27d57
diff --git a/packages/mui-lab/src/internal/pickers/hooks/date-helpers-hooks.tsx b/packages/mui-lab/src/internal/pickers/hooks/date-helpers-hooks.tsx --- a/packages/mui-lab/src/internal/pickers/hooks/date-helpers-hooks.tsx +++ b/packages/mui-lab/src/internal/pickers/hooks/date-helpers-hooks.tsx @@ -57,7 +57,7 @@ export ...
diff --git a/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx b/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx --- a/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx +++ b/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx @@ -201,6 +201,29 @@ describe...
[TimePicker] Switching am pm does not change the time <!-- Time picker not getting trigger on am pm change From timepicker popup --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked chec...
null
2021-06-05 10:17:57+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx-><DesktopTimePicker /> opens when "Choose time" is clicked', 'packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx-><DesktopTimePicker /> input validation should dispatch "shouldDisableTime-minutes" error', 'packages/mui-lab/src/DesktopTim...
['packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx-><DesktopTimePicker /> fires a change event when meridiem changes']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,623
mui__material-ui-26623
['20250']
f336e03acfadfe0171cee5a469be02953337d20f
diff --git a/docs/pages/api-docs/slide.json b/docs/pages/api-docs/slide.json --- a/docs/pages/api-docs/slide.json +++ b/docs/pages/api-docs/slide.json @@ -2,6 +2,9 @@ "props": { "appear": { "type": { "name": "bool" }, "default": "true" }, "children": { "type": { "name": "custom", "description": "element" }...
diff --git a/packages/material-ui/src/Slide/Slide.test.js b/packages/material-ui/src/Slide/Slide.test.js --- a/packages/material-ui/src/Slide/Slide.test.js +++ b/packages/material-ui/src/Slide/Slide.test.js @@ -235,7 +235,7 @@ describe('<Slide />', () => { } }; const handleRef = useForkRef(ref, s...
[Transition] Add 'parent/anchor' prop to Slide component. <!-- Provide a general summary of the feature in the Title above --> It would be useful to be able to provide optional _parent_ prop, which default would be equal to window. It is easy to implement(we did it ourselves in our company) and it increases the functi...
> It is an easy implementation @TomekStaszkiewicz Did you try it? I think that it would be interesting to share the code and outcome :) Yes, I did! :) All you have to do is: 1. Add parent as prop 2. Change `getTranslateValue` function. ```js function getTranslateValue(direction, node, parent = window) { const...
2021-06-06 06:31:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Slide/Slide.test.js-><Slide /> transform styling handleExiting() should set element transform and transition in the `down` direction', 'packages/material-ui/src/Slide/Slide.test.js-><Slide /> prop: direction should update the position', 'packages/material-ui/src/Slide/Slide.test.js-><Slide />...
['packages/material-ui/src/Slide/Slide.test.js-><Slide /> transform styling handleEnter() should set element transform in the `left` direction when element is offscreen', 'packages/material-ui/src/Slide/Slide.test.js-><Slide /> transform styling resize should take existing transform into account', 'packages/material-ui...
['packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction ...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Slide/Slide.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
7
0
7
false
false
["packages/material-ui/src/Popover/Popover.js->program->function_declaration:getAnchorEl", "packages/material-ui/src/Slide/Slide.js->program->function_declaration:setTranslateValue", "packages/material-ui/src/Slide/Slide.js->program->function_declaration:resolveContainer", "packages/material-ui/src/Popper/Popper.js->pr...
mui/material-ui
26,746
mui__material-ui-26746
['21902']
9acf8be6d2fd08210665c294830df3c85c014214
diff --git a/docs/src/modules/branding/BrandingRoot.tsx b/docs/src/modules/branding/BrandingRoot.tsx --- a/docs/src/modules/branding/BrandingRoot.tsx +++ b/docs/src/modules/branding/BrandingRoot.tsx @@ -101,15 +101,6 @@ let theme = createTheme({ '"Segoe UI Symbol"', ].join(','), }, - breakpoints: { - ...
diff --git a/packages/material-ui-system/src/createTheme/createBreakpoints.test.js b/packages/material-ui-system/src/createTheme/createBreakpoints.test.js --- a/packages/material-ui-system/src/createTheme/createBreakpoints.test.js +++ b/packages/material-ui-system/src/createTheme/createBreakpoints.test.js @@ -18,7 +18,...
[theme] Improve the breakpoints values According to the official https://material.io/design/layout/responsive-layout-grid.html#breakpoints, the breakpoints should be as follow: xs: 0 - 600 sm: 600 - 1024 md: 1024 - 1440 lg: 1440 - 1920 xl: > 1920 Yet currently, MUI has the following as default xs: 0 - 600 ...
@matthewkwong2 Thanks for raising this issue, I have been keen to look into how we can improve the breakpoint values to better match the requirements of today's devices. IMHO we should partially ignore the recommendation of Material Design and look at what most teams use in their application/website, it will allow us t...
2021-06-14 06:25:19+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-system/src/createTheme/createBreakpoints.test.js->createBreakpoints down should work for xs', 'packages/material-ui/src/Grid/Grid.test.js-><Grid /> Material-UI component API should render without errors in ReactTestRenderer', 'packages/material-ui/src/styles/adaptV4Theme.test.js->adaptV4Theme the...
['packages/material-ui/src/styles/responsiveFontSizes.test.js->responsiveFontSizes should disable vertical alignment', 'packages/material-ui-system/src/createTheme/createBreakpoints.test.js->createBreakpoints between should work', 'packages/material-ui-system/src/createTheme/createBreakpoints.test.js->createBreakpoints...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Grid/Grid.test.js packages/material-ui/src/styles/responsiveFontSizes.test.js packages/material-ui/src/Stack/Stack.test.js packages/material-ui-system/src/createTheme/createBreakpoints.test.js packages/material-ui/sr...
Feature
false
true
false
false
2
0
2
false
false
["packages/material-ui/src/styles/cssUtils.js->program->function_declaration:responsiveProperty", "packages/material-ui-system/src/createTheme/createBreakpoints.js->program->function_declaration:createBreakpoints"]
mui/material-ui
26,772
mui__material-ui-26772
['26333']
750baceabf00d7ea120b90a4480133020d1286d0
diff --git a/packages/mui-material/src/Radio/Radio.js b/packages/mui-material/src/Radio/Radio.js --- a/packages/mui-material/src/Radio/Radio.js +++ b/packages/mui-material/src/Radio/Radio.js @@ -58,6 +58,15 @@ const RadioRoot = styled(SwitchBase, { }, })); +function areEqualValues(a, b) { + if (typeof b === 'obj...
diff --git a/packages/mui-material/src/RadioGroup/RadioGroup.test.js b/packages/mui-material/src/RadioGroup/RadioGroup.test.js --- a/packages/mui-material/src/RadioGroup/RadioGroup.test.js +++ b/packages/mui-material/src/RadioGroup/RadioGroup.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } fr...
[Radio] Radio not getting checked when the value is not a string <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkb...
It works for me, please take a look and share your use case. https://codesandbox.io/s/reproduce-radio-value-kvhpk?file=/src/App.tsx Hi @haebinseo, I think that your values that are getting from the backend and that are being used in the application. I think it seems that value that is obtaining the backend is in t...
2021-06-15 15:51:22+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/RadioGroup/RadioGroup.test.js-><RadioGroup /> the root component has the radiogroup role', 'packages/mui-material/src/RadioGroup/RadioGroup.test.js-><RadioGroup /> MUI component API spreads props to the root component', 'packages/mui-material/src/RadioGroup/RadioGroup.test.js-><RadioGroup />...
['packages/mui-material/src/RadioGroup/RadioGroup.test.js-><RadioGroup /> should support number value']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/RadioGroup/RadioGroup.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
2
0
2
false
false
["packages/mui-material/src/Select/SelectInput.js->program->function_declaration:areEqualValues", "packages/mui-material/src/Radio/Radio.js->program->function_declaration:areEqualValues"]
mui/material-ui
26,791
mui__material-ui-26791
['26580']
8285e9c52a9f2a545c79b5a69e681c772c37b01c
diff --git a/docs/pages/api-docs/modal.json b/docs/pages/api-docs/modal.json --- a/docs/pages/api-docs/modal.json +++ b/docs/pages/api-docs/modal.json @@ -2,7 +2,10 @@ "props": { "children": { "type": { "name": "custom", "description": "element" }, "required": true }, "open": { "type": { "name": "bool" }, ...
diff --git a/packages/material-ui/src/Drawer/Drawer.test.js b/packages/material-ui/src/Drawer/Drawer.test.js --- a/packages/material-ui/src/Drawer/Drawer.test.js +++ b/packages/material-ui/src/Drawer/Drawer.test.js @@ -299,4 +299,20 @@ describe('<Drawer />', () => { expect(getAnchor(theme, 'right')).to.equal('le...
[Modal] zIndex of the Drawer and Modal components are the same <!-- Provide a general summary of the issue in the Title above --> According to the zIndex definitions (https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/styles/zIndex.js), the Drawer's zIndex is less (1200) than a Modal's (1300)....
null
2021-06-16 15:04:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Drawer/Drawer.test.js-><Drawer /> isHorizontal should recognize left and right as horizontal swiping directions', 'packages/material-ui/src/Drawer/Drawer.test.js-><Drawer /> prop: variant=persistent should render a div instead of a Modal when persistent', 'packages/material-ui/src/Drawer/Draw...
['packages/material-ui/src/Drawer/Drawer.test.js-><Drawer /> zIndex should set correct zIndex on the root element']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Drawer/Drawer.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,807
mui__material-ui-26807
['26304']
567e6cf97dce71eba9370e8c13519d206a98ffd2
diff --git a/docs/pages/api-docs/step-label.json b/docs/pages/api-docs/step-label.json --- a/docs/pages/api-docs/step-label.json +++ b/docs/pages/api-docs/step-label.json @@ -2,6 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, + "componentsProp...
diff --git a/packages/material-ui/src/StepLabel/StepLabel.test.js b/packages/material-ui/src/StepLabel/StepLabel.test.js --- a/packages/material-ui/src/StepLabel/StepLabel.test.js +++ b/packages/material-ui/src/StepLabel/StepLabel.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; ...
[Stepper] Add componentsProps.label to StepLabel - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Summary 💡 I want to add a `TypographyProps` argument to `StepLabelProps` in the same vein as `StepIconProps`. ## Ex...
null
2021-06-17 13:18:53+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/StepLabel/StepLabel.test.js-><StepLabel /> Material-UI component API spreads props to the root component', 'packages/material-ui/src/StepLabel/StepLabel.test.js-><StepLabel /> Material-UI component API should render without errors in ReactTestRenderer', 'packages/material-ui/src/StepLabel/Ste...
['packages/material-ui/src/StepLabel/StepLabel.test.js-><StepLabel /> componentsProps: label spreads the props on the label element']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/StepLabel/StepLabel.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
26,984
mui__material-ui-26984
['25771']
b49aa0cd314641ea71cb99d0271b34a97b526065
diff --git a/docs/src/pages/system/sizing/sizing.md b/docs/src/pages/system/sizing/sizing.md --- a/docs/src/pages/system/sizing/sizing.md +++ b/docs/src/pages/system/sizing/sizing.md @@ -4,13 +4,21 @@ ## Supported values -The sizing style functions support different property input types: +The sizing properties: `w...
diff --git a/packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js b/packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js --- a/packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js +++ b/packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js @@ -6...
[Box] doesn't apply maxWidth prop Box doesn't apply maxWidth prop ``` <Box maxWidth="xs"> Hello World </Box> ``` CodeSandBox: https://codesandbox.io/s/hardcore-platform-tyfvw?file=/index.js:131-183 Mui version: v4.9.8 ✓
@PetrShchukin What lead you to believe this API is supported? In this page https://material-ui.com/components/box/#box, the latest sentence is "Any other properties supplied will be used by the style functions or spread to the root element." I'd expect maxWidth to be support as width is supported. @PetrShchukin Ok than...
2021-06-27 11:47:03+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx system resolves system typography', 'packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx breakpoints resolves breakpoints array', 'packages/material-ui-system/src/styleFunctionSx/styleFunction...
['packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx system resolves system ']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-system/src/styleFunctionSx/styleFunctionSx.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
27,037
mui__material-ui-27037
['24887']
a89b3e3e8c1911ca3def07caf7a6a6ee5c1459fa
diff --git a/packages/material-ui-lab/src/ClockPicker/ClockPicker.tsx b/packages/material-ui-lab/src/ClockPicker/ClockPicker.tsx --- a/packages/material-ui-lab/src/ClockPicker/ClockPicker.tsx +++ b/packages/material-ui-lab/src/ClockPicker/ClockPicker.tsx @@ -215,9 +215,14 @@ function ClockPicker<TDate>(inProps: ClockPi...
diff --git a/packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx b/packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx --- a/packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx +++ b/packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx @@ -341,4 +341,40 @@ describe('<ClockPicker /...
[Timepicker] With null value, after selecting hour default time is current minute of now rather than a more logical default like 00 - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a dupli...
null
2021-06-30 15:23:50+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx-><ClockPicker /> has a name depending on the `date`', 'packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx-><ClockPicker /> renders a listbox with a name', 'packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx-><ClockPicker /> selects th...
['packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx-><ClockPicker /> default value if value is not provided, uses zero as default for minutes and seconds when selecting hour']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-lab/src/ClockPicker/ClockPicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
27,312
mui__material-ui-27312
['26378']
bd6e492ee5f71357a5a56f06c223310dd92157cb
diff --git a/packages/material-ui/src/useAutocomplete/useAutocomplete.js b/packages/material-ui/src/useAutocomplete/useAutocomplete.js --- a/packages/material-ui/src/useAutocomplete/useAutocomplete.js +++ b/packages/material-ui/src/useAutocomplete/useAutocomplete.js @@ -67,6 +67,7 @@ export default function useAutocomp...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -1174,6 +1174,23 @@ describe('<Autocomplete />', () =>...
[Autocomplete] Popper is not closing when Autocomplete is disabled - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 I've two autocompletes that th...
The blur event is not fired when an `<input>` gets disabled. One solution is to support any input: ```diff diff --git a/packages/material-ui/src/useAutocomplete/useAutocomplete.js b/packages/material-ui/src/useAutocomplete/useAutocomplete.js index 31f88be71e..3adc4ad22e 100644 --- a/packages/material-ui/src/useAu...
2021-07-15 20:32:00+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong', 'packages/material-u...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: disabled should close the popup when disabled is true']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
27,313
mui__material-ui-27313
['19173']
5a5348b7ee7726b3a542b496935363ee6df5845f
diff --git a/packages/material-ui/src/useAutocomplete/useAutocomplete.js b/packages/material-ui/src/useAutocomplete/useAutocomplete.js --- a/packages/material-ui/src/useAutocomplete/useAutocomplete.js +++ b/packages/material-ui/src/useAutocomplete/useAutocomplete.js @@ -144,31 +144,43 @@ export default function useAuto...
diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.test.js b/packages/material-ui/src/Autocomplete/Autocomplete.test.js --- a/packages/material-ui/src/Autocomplete/Autocomplete.test.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.test.js @@ -2019,6 +2019,43 @@ describe('<Autocomplete />', () =>...
[Autocomplete] Input value update issue <!-- Provide a general summary of the issue in the Title above --> I have been using the AutoComplete component for a while with no issue, and i had to update the Lab to be able to use the recent Alert component but on update my AutoComplete won't render any options again. <!...
@shepherd1530 Do you have a reproduction? @oliviertassinari yes I added it. And the issue only occur if i pass the **InputProps** to the TextField component. 👋 Thanks for using Material-UI! We use GitHub issues exclusively as a bug and feature requests tracker, however, this issue appears to be a support request. F...
2021-07-15 20:36:06+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: onHighlightChange should pass to onHighlightChange the correct value after filtering', 'packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> warnings warn if the type of the value is wrong', 'packages/material-u...
['packages/material-ui/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: getOptionLabel should update the input value when getOptionLabel changes']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/useAutocomplete/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction /> touch funct...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/material-ui/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
27,738
mui__material-ui-27738
['27707']
96aa11caa844a44a0d137bd211d0d91f5483bce7
diff --git a/packages/material-ui/src/InputLabel/InputLabel.js b/packages/material-ui/src/InputLabel/InputLabel.js --- a/packages/material-ui/src/InputLabel/InputLabel.js +++ b/packages/material-ui/src/InputLabel/InputLabel.js @@ -9,7 +9,7 @@ import styled, { rootShouldForwardProp } from '../styles/styled'; import { g...
diff --git a/packages/material-ui/src/InputLabel/InputLabel.test.js b/packages/material-ui/src/InputLabel/InputLabel.test.js --- a/packages/material-ui/src/InputLabel/InputLabel.test.js +++ b/packages/material-ui/src/InputLabel/InputLabel.test.js @@ -35,6 +35,16 @@ describe('<InputLabel />', () => { expect(contain...
InputLabel asterisk doesn't have `MuiInputLabel-asterisk` css class <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked che...
null
2021-08-14 06:49:14+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/InputLabel/InputLabel.test.js-><InputLabel /> Material-UI component API applies the className to the root component', 'packages/material-ui/src/InputLabel/InputLabel.test.js-><InputLabel /> Material-UI component API spreads props to the root component', 'packages/material-ui/src/InputLabel/In...
['packages/material-ui/src/InputLabel/InputLabel.test.js-><InputLabel /> should forward the asterisk class to AsteriskComponent when required']
['packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded', 'scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui/src/BottomNavigationAction/BottomNavigationAction.test.js-><BottomNavigationAction ...
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/InputLabel/InputLabel.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
27,847
mui__material-ui-27847
['26944']
8b40e0baddd283194ce867a44deb900ea2d103a8
diff --git a/packages/material-ui-system/src/createStyled.js b/packages/material-ui-system/src/createStyled.js --- a/packages/material-ui-system/src/createStyled.js +++ b/packages/material-ui-system/src/createStyled.js @@ -34,7 +34,7 @@ const getVariantStyles = (name, theme) => { const variantsResolver = (props, sty...
diff --git a/packages/material-ui-system/src/createStyled.test.js b/packages/material-ui-system/src/createStyled.test.js --- a/packages/material-ui-system/src/createStyled.test.js +++ b/packages/material-ui-system/src/createStyled.test.js @@ -1,7 +1,12 @@ +import * as React from 'react'; import { expect } from 'chai';...
[theme] pseudo class overridden in variants - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 When doing: ```jsx const theme = createTheme({ ...
#26824 is not fixing this issue. proof: https://codesandbox.io/s/basicalerts-material-demo-forked-ywp7x?file=/demo.js This seems to fix it: ```diff diff --git a/packages/material-ui-system/src/createStyled.js b/packages/material-ui-system/src/createStyled.js index 2b55fcf31f..aeac9dd9ef 100644 --- a/packages/mate...
2021-08-19 15:24:27+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-system/src/createStyled.test.js->createStyled displayName falls back to the decorated tag name', 'packages/material-ui-system/src/createStyled.test.js->createStyled displayName has a fallback name if the display name cannot be computed', 'packages/material-ui-system/src/createStyled.test.js->crea...
['packages/material-ui-system/src/createStyled.test.js->createStyled styles styles of pseudo classes of variants are merged']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-system/src/createStyled.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
27,916
mui__material-ui-27916
['27914']
564eea9fc10ca0802a6dc59a8107470221f66cac
diff --git a/docs/pages/api-docs/switch-unstyled.json b/docs/pages/api-docs/switch-unstyled.json --- a/docs/pages/api-docs/switch-unstyled.json +++ b/docs/pages/api-docs/switch-unstyled.json @@ -6,7 +6,7 @@ "components": { "type": { "name": "shape", - "description": "{ Input?: elementType, R...
diff --git a/packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx b/packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx --- a/packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx +++ b/packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx @...
[Switch] Add `track` to unstyled switch ## Summary 💡 Unstyled switch should provide `track` element by default (for styling purpose). I think unstyled package not only take care of the functionality but should also provide default anatomy that suitable for styling. This [preview](https://deploy-preview-27488--ma...
null
2021-08-23 09:15:32+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx-><SwitchUnstyled /> Material-UI unstyled component API merges the class names provided in componentsProps.input with the built-in ones', 'packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx-><SwitchUnstyled /> Material-UI un...
["packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx-><SwitchUnstyled /> Material-UI unstyled component API sets custom properties on Track slot's element", 'packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx-><SwitchUnstyled /> Material-UI unstyled component API allows overr...
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui-unstyled/src/SwitchUnstyled/SwitchUnstyled.test.tsx test/utils/describeConformanceUnstyled.tsx --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
27,998
mui__material-ui-27998
['27970']
5d390303f3d88c750bfb2199989d5aa068f8977e
diff --git a/docs/pages/api-docs/toggle-button-group.json b/docs/pages/api-docs/toggle-button-group.json --- a/docs/pages/api-docs/toggle-button-group.json +++ b/docs/pages/api-docs/toggle-button-group.json @@ -9,6 +9,7 @@ }, "default": "'standard'" }, + "disabled": { "type": { "name": "bool" } },...
diff --git a/packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js b/packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js --- a/packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js +++ b/packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js @@ -1,7 +1,7 @@ ...
ToggleButtonGroup API - disabled prop It would be nice to have a `disabled` prop on the `ToggleButtonGroup` that would disable all the buttons, like the `ButtonGroup` do.
@RemyMachado Feel free to work on it. Should be straightforward enough. @mbrookes I would like to try this issue. Can I ? @RemyMachado are you working on this already? @chetas411 @mbrookes I was about to give it a try, but I never contributed before so I'm afraid I would be slow. Go ahead, please yourself. > @ch...
2021-08-28 14:52:50+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js-><ToggleButtonGroup /> exclusive should not render a selected ToggleButton when its value is not selected', 'packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js-><ToggleButtonGroup /> can render group orientation vertically', 'packa...
['packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js-><ToggleButtonGroup /> should disable all ToggleButton if disabled prop is passed']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/ToggleButtonGroup/ToggleButtonGroup.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
28,054
mui__material-ui-28054
['27792']
26abce8528bb57abd53f936db87e11a5c9c41878
diff --git a/packages/material-ui/src/Select/Select.js b/packages/material-ui/src/Select/Select.js --- a/packages/material-ui/src/Select/Select.js +++ b/packages/material-ui/src/Select/Select.js @@ -12,6 +12,7 @@ import NativeSelectInput from '../NativeSelect/NativeSelectInput'; import FilledInput from '../FilledInput...
diff --git a/packages/material-ui/src/Select/Select.test.js b/packages/material-ui/src/Select/Select.test.js --- a/packages/material-ui/src/Select/Select.test.js +++ b/packages/material-ui/src/Select/Select.test.js @@ -1195,11 +1195,37 @@ describe('<Select />', () => { ); }); - it('should merge the class nam...
BaseInput ref is undefined when using with Select <!-- Provide a general summary of the issue in the Title above --> I'm using Material-UI Select component, with Material-UI InputBase to show the values. I need access for the ref of the ROOT of the Input component, but it's not working and the current of the ref is...
Confirmed for 5.x: https://codesandbox.io/s/material-demo-forked-cx22l?file=/demo.tsx Hi, I want to work on it. Using the component Input and InputBase has the prop inputRef that passes the ref to the input, so using it rather than ref work on the example provided by the Itaytur. `inputRef={inputRef}` Showing the valu...
2021-08-30 12:03:20+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/material-ui/src/Select/Select.test.js-><Select /> should open menu when pressed ArrowUp key on select', 'packages/material-ui/src/Select/Select.test.js-><Select /> prop: multiple selects value based on their stringified equality when theyre not objects', 'packages/material-ui/src/Select/Select.test.js-><Sele...
['packages/material-ui/src/Select/Select.test.js-><Select /> prop: input merges `ref` of `Select` and `input`']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/material-ui-unstyled/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/material-ui/src/Select/Select.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
28,186
mui__material-ui-28186
['28181']
f588d8fdf63b8558e26cfa288f20ff400140ed6c
diff --git a/packages/mui-material/src/useTouchRipple/useTouchRipple.ts b/packages/mui-material/src/useTouchRipple/useTouchRipple.ts --- a/packages/mui-material/src/useTouchRipple/useTouchRipple.ts +++ b/packages/mui-material/src/useTouchRipple/useTouchRipple.ts @@ -43,12 +43,9 @@ const useTouchRipple = (props: UseTouc...
diff --git a/packages/mui-material/src/ButtonBase/ButtonBase.test.js b/packages/mui-material/src/ButtonBase/ButtonBase.test.js --- a/packages/mui-material/src/ButtonBase/ButtonBase.test.js +++ b/packages/mui-material/src/ButtonBase/ButtonBase.test.js @@ -521,6 +521,36 @@ describe('<ButtonBase />', () => { fire...
[ButtonBase] Unfocus does not clear ripple <!-- Provide a general summary of the issue in the Title above --> keyboard tab between ButtonBase component does not clear the focus ripple. I can confirm that revert the code on this commit does not have this issue (in `ButtonBase.js`). https://github.com/mui-org/material...
Yes, I've noticed that and I'm already working on a fix. I think I've talked repeatedly about not doing the abstraction. The ButtonBase is integral to the codebase and shouldn't be jeopardized by the unstyled effort. The unstyled effort can be a separate experiment that doesn't need to affect the core product. > The Bu...
2021-09-06 11:19:27+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> event: keydown keyboard accessibility for non interactive elements does not call onClick when a spacebar is released and the default is prevented', 'packages/mui-material/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions shoul...
['packages/mui-material/src/ButtonBase/ButtonBase.test.js-><ButtonBase /> ripple interactions should stop the ripple on blur if disableTouchRipple is set']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/ButtonBase/ButtonBase.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/useTouchRipple/useTouchRipple.ts->program->function_declaration:useRippleHandler"]
mui/material-ui
28,190
mui__material-ui-28190
['28098']
575b9535c69261dac16548037245a9297f98d797
diff --git a/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.js b/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.js --- a/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.js +++ b/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.js @@ -185,8 +185,13 @@ export default function ...
diff --git a/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js b/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js --- a/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js +++ b/packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js @@ -1,6 +1,6 @@ import *...
[Autocomplete] freeSolo value is not remaining after leaving the field When using the Autocomplete component with the freeSolo option, the entered value is removed right after leaving the text field. <!-- Checked checkbox should look like this: [x] --> - [x] The issue is present in the latest release. - [x] I h...
@daniel-7235 Thanks for raising it. It's a major regression in the use case we had for this component! It was broken in 5.0.0-beta.2: https://codesandbox.io/s/freesolo-material-demo-forked-50q50?file=/demo.js in #27313 to be precise. Regarding the solution, this seems enough: ```diff diff --git a/packages/material-...
2021-09-06 14:29:37+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete createFilterOptions defaults to getOptionLabel for text filtering', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete createFilterOptions filters without error with empty option set', 'packages/mui-c...
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete prop: freeSolo should not reset if the component value does not change on blur']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
28,219
mui__material-ui-28219
['28193']
9c483fe9f6cb15fccf719fde2eb38ba743a790c0
diff --git a/packages/mui-system/src/borders.js b/packages/mui-system/src/borders.js --- a/packages/mui-system/src/borders.js +++ b/packages/mui-system/src/borders.js @@ -68,7 +68,7 @@ export const borderLeftColor = style({ }); export const borderRadius = (props) => { - if (props.borderRadius) { + if (props.borde...
diff --git a/packages/mui-system/src/borders.test.js b/packages/mui-system/src/borders.test.js --- a/packages/mui-system/src/borders.test.js +++ b/packages/mui-system/src/borders.test.js @@ -10,4 +10,13 @@ describe('borders', () => { borderRadius: 4, }); }); + + it('should work with 0', () => { + con...
Square prop makes no effect on Alert components <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox should look li...
need to find out why `Alert` inherits `Paper` (only to get elevation styles?) and continue on that for now, you can theme `Alert` to affect global or use `sx` prop for specific location. @siriwatknp note that setting the `borderRadius` doesn't work on the `sx` prop as well. It works however if it is set as '0 px'. S...
2021-09-08 02:31:55+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-system/src/sizing.test.js->sizing sizing', 'packages/mui-system/src/grid.test.js->grid should use the spacing unit', 'packages/mui-system/src/borders.test.js->borders should work', 'packages/mui-system/src/grid.test.js->grid should support breakpoints']
['packages/mui-system/src/grid.test.js->grid should accept 0', 'packages/mui-system/src/sizing.test.js->sizing should work with 0', 'packages/mui-system/src/borders.test.js->borders should work with 0']
['scripts/listChangedFiles.test.js->listChangedFiles should detect changes', 'packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-system/src/borders.test.js packages/mui-system/src/grid.test.js packages/mui-system/src/sizing.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-system/src/sizing.js->program->function_declaration:transform"]
mui/material-ui
28,813
mui__material-ui-28813
['28520']
182d4dc7726f6d77f0ca3863ca6fcdf9eec23a23
diff --git a/docs/src/pages/system/properties/properties.md b/docs/src/pages/system/properties/properties.md --- a/docs/src/pages/system/properties/properties.md +++ b/docs/src/pages/system/properties/properties.md @@ -62,6 +62,12 @@ Note that this table only lists custom properties, all other regular CSS propert | `m...
diff --git a/packages/mui-system/src/spacing.test.js b/packages/mui-system/src/spacing.test.js --- a/packages/mui-system/src/spacing.test.js +++ b/packages/mui-system/src/spacing.test.js @@ -168,6 +168,12 @@ describe('system spacing', () => { paddingBottom: 8, paddingTop: 8, }); + const ou...
Logical padding/margin properties should follow spacing rules All `padding`/`margin` should use the `theme.spacing` function, but `padding{Inline/Block}{Start/End}` use value as pixel <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to MUI by creating a...
A work around could be including "px" or "rem" suffix for example `sx={{paddingInlineStart: '2px'}}` or `sx={{paddingInlineStart: '2rem'}}` Please do include your values in single quotes [Work around ](https://codesandbox.io/s/competent-mestorf-iqjvf) We don't have support for the `paddingInline*` properties in the sy...
2021-10-04 08:08:09+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-system/src/spacing.test.js->system spacing spacing should support string values', 'packages/mui-system/src/spacing.test.js->system spacing spacing warnings should warn if non integer value is used with theme.spacing defined as array', 'packages/mui-system/src/spacing.test.js->system spacing margin should...
['packages/mui-system/src/spacing.test.js->system spacing padding should support full version', 'packages/mui-system/src/spacing.test.js->system spacing margin should support full version', 'packages/mui-system/src/spacing.test.js->system spacing spacing should support full version']
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-system/src/spacing.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
28,884
mui__material-ui-28884
['28853']
db8a5f536ffb4e0dc0dadffcdfd69eebff62de27
diff --git a/packages/mui-material/src/PaginationItem/PaginationItem.js b/packages/mui-material/src/PaginationItem/PaginationItem.js --- a/packages/mui-material/src/PaginationItem/PaginationItem.js +++ b/packages/mui-material/src/PaginationItem/PaginationItem.js @@ -290,7 +290,6 @@ const PaginationItem = React.forwardR...
diff --git a/packages/mui-material/src/Pagination/Pagination.test.js b/packages/mui-material/src/Pagination/Pagination.test.js --- a/packages/mui-material/src/Pagination/Pagination.test.js +++ b/packages/mui-material/src/Pagination/Pagination.test.js @@ -4,6 +4,7 @@ import { spy } from 'sinon'; import { describeConfor...
[Pagination] clicking on "..." triggers onChange with page equals to null (v5) <!-- Provide a general summary of the issue in the Title above --> Clicking on `...` triggers Pagination `onChange` with `page` equals to `null`. This behavior does not appear in v4. ![Screen Shot 2564-10-06 at 03 31 09](https://user-ima...
Thanks for the report. It shouldn't work like this indeed.
2021-10-07 06:59:25+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Pagination/Pagination.test.js-><Pagination /> should render', 'packages/mui-material/src/Pagination/Pagination.test.js-><Pagination /> MUI component API should render without errors in ReactTestRenderer', 'packages/mui-material/src/Pagination/Pagination.test.js-><Pagination /> fires onChange...
['packages/mui-material/src/Pagination/Pagination.test.js-><Pagination /> should not fire onChange when an ellipsis div is clicked']
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Pagination/Pagination.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
29,023
mui__material-ui-29023
['28991']
d11ef0f82f1ef6d62518f0879b674feb9f916d66
diff --git a/docs/translations/api-docs/tooltip/tooltip.json b/docs/translations/api-docs/tooltip/tooltip.json --- a/docs/translations/api-docs/tooltip/tooltip.json +++ b/docs/translations/api-docs/tooltip/tooltip.json @@ -5,7 +5,7 @@ "children": "Tooltip reference element.<br>⚠️ <a href=\"/guides/composition/#cav...
diff --git a/packages/mui-material/src/Tooltip/Tooltip.test.js b/packages/mui-material/src/Tooltip/Tooltip.test.js --- a/packages/mui-material/src/Tooltip/Tooltip.test.js +++ b/packages/mui-material/src/Tooltip/Tooltip.test.js @@ -1264,4 +1264,50 @@ describe('<Tooltip />', () => { expect(document.body.style.Webk...
[Tooltip] className not applied from PopperProps After migrating to MUI v5.0.3, our styles are not applied anymore when using `PopperProps` from the Tooltip component. I saw that a new prop `componentsProps` was introduced in #28692. Our styles seem working fine when using this prop but TypeScript is now asking for ...
Thanks for the report. Really appreciate the flawless issue. We end up overwriting `PopperProps.className` in https://github.com/mui-org/material-ui/blob/f98d52b1fcf9ab91b3e8d760bf59906c860fca49/packages/mui-material/src/Tooltip/Tooltip.js#L681-L682
2021-10-13 06:03:12+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Tooltip/Tooltip.test.js-><Tooltip /> prop: title should label the child when open with an exotic title', 'packages/mui-material/src/Tooltip/Tooltip.test.js-><Tooltip /> prop: overrides should be transparent for the onMouseEnter event', 'packages/mui-material/src/Tooltip/Tooltip.test.js-><Too...
['packages/mui-material/src/Tooltip/Tooltip.test.js-><Tooltip /> className should apply both the className from PopperProps and componentsProps.popper if both are passed', 'packages/mui-material/src/Tooltip/Tooltip.test.js-><Tooltip /> className should allow className from PopperProps']
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Tooltip/Tooltip.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
29,034
mui__material-ui-29034
['29033']
e4b856fdd1686b09357d36c7cefdf0daddfb8bfc
diff --git a/packages/mui-material/src/Chip/Chip.js b/packages/mui-material/src/Chip/Chip.js --- a/packages/mui-material/src/Chip/Chip.js +++ b/packages/mui-material/src/Chip/Chip.js @@ -376,7 +376,7 @@ const Chip = React.forwardRef(function Chip(inProps, ref) { ? { component: ComponentProp || 'div', ...
diff --git a/packages/mui-material/src/Chip/Chip.test.js b/packages/mui-material/src/Chip/Chip.test.js --- a/packages/mui-material/src/Chip/Chip.test.js +++ b/packages/mui-material/src/Chip/Chip.test.js @@ -12,6 +12,7 @@ import { } from 'test/utils'; import Avatar from '@mui/material/Avatar'; import Chip, { chipClas...
[Chip] Unable to disable ripple in clickable Chip Cannot disable ripple with clickable chip. - [x] The issue is present in the latest release. - [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 Eve...
null
2021-10-13 13:39:11+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Chip/Chip.test.js-><Chip /> prop: size should render the label with the labelSmall class', 'packages/mui-material/src/Chip/Chip.test.js-><Chip /> MUI component API prop: component can render another root component with the `component` prop', 'packages/mui-material/src/Chip/Chip.test.js-><Chi...
['packages/mui-material/src/Chip/Chip.test.js-><Chip /> clickable chip should disable ripple when MuiButtonBase has disableRipple in theme']
['packages/mui-core/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Chip/Chip.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
29,579
mui__material-ui-29579
['29513']
c3fc8b881aee6c0ca85718550e7d60a4c2b9d1c1
diff --git a/docs/pages/api-docs/table-pagination.json b/docs/pages/api-docs/table-pagination.json --- a/docs/pages/api-docs/table-pagination.json +++ b/docs/pages/api-docs/table-pagination.json @@ -14,7 +14,7 @@ }, "labelDisplayedRows": { "type": { "name": "func" }, - "default": "function default...
diff --git a/packages/mui-material/src/TablePagination/TablePagination.test.js b/packages/mui-material/src/TablePagination/TablePagination.test.js --- a/packages/mui-material/src/TablePagination/TablePagination.test.js +++ b/packages/mui-material/src/TablePagination/TablePagination.test.js @@ -246,7 +246,7 @@ describe(...
Use en-dashes, not hyphens, for number ranges on paginaton I noticed that a plain vanilla hyphen is used on number ranges for pagination (e.g. 1-100) when it should instead be an en-dash (e.g. 1–100). Small subtle difference that I suppose only dog whistles to the typography snobs of the world—myself included. See wiki...
For instance here https://mui.com/components/tables/#custom-pagination-actions I can take this issue
2021-11-08 19:17:41+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/TablePagination/TablePagination.test.js-><TablePagination /> prop: labelRowsPerPage labels the select for the current page', 'packages/mui-material/src/TablePagination/TablePagination.test.js-><TablePagination /> prop: showLastButton should change the page', 'packages/mui-material/src/TableP...
['packages/mui-material/src/TablePagination/TablePagination.test.js-><TablePagination /> label should display 0 as start number if the table is empty ', 'packages/mui-material/src/TablePagination/TablePagination.test.js-><TablePagination /> prop: rowsPerPage should display max number of rows text when prop is -1', 'pac...
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/TablePagination/TablePagination.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/TablePagination/TablePagination.js->program->function_declaration:defaultLabelDisplayedRows"]
mui/material-ui
29,630
mui__material-ui-29630
['29206']
e36634c6b39c9682ed6e3c58ab3b250a85825e0e
diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.js b/packages/mui-material/src/OutlinedInput/OutlinedInput.js --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.js +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.js @@ -3,6 +3,8 @@ import PropTypes from 'prop-types'; import { ref...
diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js b/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js @@ -27,6 +27,18 @@ describe('<OutlinedInput /...
[FormControl] Required bool does not render correctly <!-- Provide a general summary of the issue in the Title above --> With the required being set for Textfield or Formcontroll, the rendering is different. <!-- Checked checkbox should look like this: [x] --> - [X] The issue is present in the latest release. ...
@sbitenc, hi, this is because `InputLabel` does not have `Non-breaking space` in legend: ![image](https://user-images.githubusercontent.com/26045698/138873600-703f75c2-6d56-449d-abf2-dc0f35186405.png) but `TextField` have: ![image](https://user-images.githubusercontent.com/26045698/138874851-37f2a1dd-2f34-46...
2021-11-11 20:23:10+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/OutlinedInput/OutlinedInput.test.js-><OutlinedInput /> MUI component API applies the root class to the root component if it has this class', 'packages/mui-material/src/OutlinedInput/OutlinedInput.test.js-><OutlinedInput /> MUI component API spreads props to the root component', 'packages/mui...
['packages/mui-material/src/OutlinedInput/OutlinedInput.test.js-><OutlinedInput /> should set correct label prop on outline']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/OutlinedInput/OutlinedInput.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
29,756
mui__material-ui-29756
['29710']
259952855e31dfde8c9daa3d7d00f6d88e35f27b
diff --git a/packages/mui-system/src/breakpoints.js b/packages/mui-system/src/breakpoints.js --- a/packages/mui-system/src/breakpoints.js +++ b/packages/mui-system/src/breakpoints.js @@ -96,7 +96,7 @@ export function createEmptyBreakpointObject(breakpointsInput = {}) { export function removeUnusedBreakpoints(breakpoin...
diff --git a/packages/mui-system/src/breakpoints.test.js b/packages/mui-system/src/breakpoints.test.js --- a/packages/mui-system/src/breakpoints.test.js +++ b/packages/mui-system/src/breakpoints.test.js @@ -1,5 +1,9 @@ import { expect } from 'chai'; -import breakpoints, { computeBreakpointsBase, resolveBreakpointValue...
"Cannot convert undefined or null to object" in Redux dispatch ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 ![image](https://user-images.githubusercontent.com/23401362/142037319-ad35433c-6060-44c9-b9f3-d6612172f54b.png) ...
Seems like you should check some components that are using `sx` prop. It doesn't look like this bug report has enough info for one of us to reproduce it. Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reprodu...
2021-11-19 02:36:17+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-system/src/breakpoints.test.js->breakpoints function: resolveBreakpointValues custom breakpoints given custom base, resolve breakpoint values for prop of object type', 'packages/mui-system/src/breakpoints.test.js->breakpoints function: resolveBreakpointValues custom breakpoints resolve breakpoint values ...
['packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx system allow values to be `null` or `undefined`', 'packages/mui-system/src/breakpoints.test.js->breakpoints function: removeUnusedBreakpoints allow value to be null']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-system/src/breakpoints.test.js packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
2
0
2
false
false
["packages/mui-system/src/breakpoints.js->program->function_declaration:removeUnusedBreakpoints", "packages/mui-system/src/styleFunctionSx/styleFunctionSx.js->program->function_declaration:styleFunctionSx->function_declaration:traverse"]
mui/material-ui
29,824
mui__material-ui-29824
['29363']
b714f102d190358ab543e425de84325f81b6083a
diff --git a/packages/mui-codemod/src/v5.0.0/jss-to-styled.js b/packages/mui-codemod/src/v5.0.0/jss-to-styled.js --- a/packages/mui-codemod/src/v5.0.0/jss-to-styled.js +++ b/packages/mui-codemod/src/v5.0.0/jss-to-styled.js @@ -167,20 +167,31 @@ export default function transformer(file, api, options) { return decla...
diff --git a/packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js b/packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js --- a/packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js +++ b/packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js @@ -563,5 +563,35 @@ describe('@mui/codemod', () => { expect(actual)...
jss-to-styled codemod generates nonsense for withStyles - [X] The issue is present in the latest release. - [X] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 - The jss-to-styled codemod deletes the s...
null
2021-11-22 06:34:42+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js->@mui/codemod v5.0.0 transforms SomeNamespace.SomeComponent transforms as needed', 'packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js->@mui/codemod v5.0.0 jss-to-styled first should be idempotent', 'packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js->@mui/c...
['packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js->@mui/codemod v5.0.0 bugs - #29363 multiple makeStyles with the same classKeys transforms as needed']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-codemod/src/v5.0.0/jss-to-styled.test.js packages/mui-codemod/src/v5.0.0/jss-to-styled.test/multipleWithStyles.expected.js packages/mui-codemod/src/v5.0.0/jss-to-styled.test/multipleWithStyles.actual.js --reporter /testbed/custo...
Bug Fix
false
true
false
false
4
0
4
false
false
["packages/mui-codemod/src/v5.0.0/jss-to-styled.js->program->function_declaration:transformer", "packages/mui-codemod/src/v5.0.0/jss-to-styled.js->program->function_declaration:transformer->function_declaration:convertToStyledArg", "packages/mui-codemod/src/v5.0.0/jss-to-styled.js->program->function_declaration:transfo...
mui/material-ui
29,880
mui__material-ui-29880
['29861']
0d94283959a3aa016881b9644767b937c34d2807
diff --git a/packages/mui-material/src/Grid/Grid.js b/packages/mui-material/src/Grid/Grid.js --- a/packages/mui-material/src/Grid/Grid.js +++ b/packages/mui-material/src/Grid/Grid.js @@ -175,6 +175,30 @@ export function generateColumnGap({ theme, ownerState }) { return styles; } +export function resolveSpacingCla...
diff --git a/packages/mui-material/src/Grid/Grid.test.js b/packages/mui-material/src/Grid/Grid.test.js --- a/packages/mui-material/src/Grid/Grid.test.js +++ b/packages/mui-material/src/Grid/Grid.test.js @@ -166,6 +166,44 @@ describe('<Grid />', () => { }); }); + it('should not support undefined values'...
[Grid] classname for `spacing` does NOT properly parse objects ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 When you use an object syntax in Grid's `spacing` prop, the layout will not work. i.e ```tsx <G...
Hi. Good catch! I think `spacing` is working in effect but the classname is not parsed properly when received objects. I will look into this :)
2021-11-24 22:03:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: item should apply the item class', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> MUI component API applies the root class to the root component if it has this class', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: spacing should not su...
['packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: spacing should ignore object values of zero', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: spacing should support object values', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: spacing should not support undefined values']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Grid/Grid.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/Grid/Grid.js->program->function_declaration:resolveSpacingClasses"]
mui/material-ui
29,898
mui__material-ui-29898
['29649']
38ac830eedf60a2a40983d71cb4dd64e8f1abf4e
diff --git a/docs/pages/api-docs/avatar-group.json b/docs/pages/api-docs/avatar-group.json --- a/docs/pages/api-docs/avatar-group.json +++ b/docs/pages/api-docs/avatar-group.json @@ -16,6 +16,7 @@ "description": "Array&lt;func<br>&#124;&nbsp;object<br>&#124;&nbsp;bool&gt;<br>&#124;&nbsp;func<br>&#124;&nbsp;obj...
diff --git a/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js b/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js @@ -49,6 +49,69 @@ describe('<AvatarGroup />', () => { e...
[Avatar] Allow the customization of how the "+x" is calculated ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Summary 💡 At the moment `AvatarGroup` solely relies on the amount of `Avatar` children to internally calculate how many `Avatar`s ar...
@Berhart it's a sensible request. Would you be willing to work on this feature? @michaldudak Sure! Whenever possible I'll try to come up with a solution.
2021-11-25 18:43:15+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><AvatarGroup /> MUI component API ref attaches the ref', 'packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><AvatarGroup /> MUI component API spreads props to the root component', 'packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><AvatarGro...
['packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><AvatarGroup /> should respect total and clamp down shown avatars', 'packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><AvatarGroup /> should display extra if clamp max is >= total', 'packages/mui-material/src/AvatarGroup/AvatarGroup.test.js-><Avatar...
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/AvatarGroup/AvatarGroup.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
29,954
mui__material-ui-29954
['18782']
145a5ecbfce78ebe5c94a19417da82da01d1b28a
diff --git a/docs/pages/api-docs/svg-icon.json b/docs/pages/api-docs/svg-icon.json --- a/docs/pages/api-docs/svg-icon.json +++ b/docs/pages/api-docs/svg-icon.json @@ -18,6 +18,7 @@ "default": "'medium'" }, "htmlColor": { "type": { "name": "string" } }, + "inheritViewBox": { "type": { "name": "bool" ...
diff --git a/packages/mui-material/src/SvgIcon/SvgIcon.test.js b/packages/mui-material/src/SvgIcon/SvgIcon.test.js --- a/packages/mui-material/src/SvgIcon/SvgIcon.test.js +++ b/packages/mui-material/src/SvgIcon/SvgIcon.test.js @@ -96,4 +96,24 @@ describe('<SvgIcon />', () => { expect(container.firstChild).to.hav...
[SvgIcon] allow viewBox to inherit from component I'm using the [SvgIcon](https://material-ui.com/api/svg-icon/#svgicon-api) component to add styles from the MUI theme to my custom svg icons. However I would prefer not to have to specify the viewBox for every custom icon that we have. I took a look at the [source cod...
@adammlr What do you think of this API: ```jsx <SvgIcon {...otherProps} component={glyph} viewBox="inherit" /> ``` combined with this diff? ```diff diff --git a/packages/material-ui/src/SvgIcon/SvgIcon.js b/packages/material-ui/src/SvgIcon/SvgIcon.js index 93be6ce59..4026d47f4...
2021-11-29 19:30:35+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/SvgIcon/SvgIcon.test.js-><SvgIcon /> MUI component API applies the className to the root component', 'packages/mui-material/src/SvgIcon/SvgIcon.test.js-><SvgIcon /> MUI component API spreads props to the root component', 'packages/mui-material/src/SvgIcon/SvgIcon.test.js-><SvgIcon /> prop: f...
["packages/mui-material/src/SvgIcon/SvgIcon.test.js-><SvgIcon /> prop: inheritViewBox should use the custom component's viewBox if true"]
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/SvgIcon/SvgIcon.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
30,118
mui__material-ui-30118
['30116']
1dce3aadadfe4956bd0f265f816740d0a5d2b4b0
diff --git a/packages/mui-material/src/Popper/Popper.tsx b/packages/mui-material/src/Popper/Popper.tsx --- a/packages/mui-material/src/Popper/Popper.tsx +++ b/packages/mui-material/src/Popper/Popper.tsx @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; import PopperUnstyled, { PopperUnstyledProps } from '@mui/base/P...
diff --git a/packages/mui-material/src/Popper/Popper.test.js b/packages/mui-material/src/Popper/Popper.test.js --- a/packages/mui-material/src/Popper/Popper.test.js +++ b/packages/mui-material/src/Popper/Popper.test.js @@ -284,4 +284,20 @@ describe('<Popper />', () => { expect(getByRole('tooltip', { hidden: true...
[Portal] Add ThemeOptions.components.MuiPortal.defaultProps ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Summary 💡 ```tsx const shadowDomRootDiv = shadowDomRoot.appendChild(someDiv); const theme: ThemeOptions = { components...
cc @junhuhdev This is alternate approach outside of material-ui-x, this would allows us to override 1 single element to get same effect across all elements cc @DanailH for visibility
2021-12-08 16:43:06+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Popper/Popper.test.js-><Popper /> MUI component API applies the className to the root component', 'packages/mui-material/src/Popper/Popper.test.js-><Popper /> prop: transition should work', 'packages/mui-material/src/Popper/Popper.test.js-><Popper /> MUI component API spreads props to the ro...
['packages/mui-material/src/Popper/Popper.test.js-><Popper /> default props should consume theme default props']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Popper/Popper.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
30,374
mui__material-ui-30374
['30150']
f22b27378ee98df1d8b300b1f6d639cdbb2c4929
diff --git a/packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js b/packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js --- a/packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js +++ b/packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js @@ -570,7 +570,11 @@ export default function ...
diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -502,6 +502,30 @@ describe('<Autocomplete />', () ...
[AutoComplete] onChange being called when value is duplicated ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 According to the documentation: > Callback fired when the value changes. However, it seems that wh...
Thanks for the report. I agree that onChange should not be called in this case. Hi! I would like to work on this issue @alisasanib go ahead, it's all yours!
2021-12-22 23:37:36+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> click input when `openOnFocus` toggles if empty', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> highlight synchronisation should not update the highlight when multiple open and value change', 'packages/mui-m...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: multiple should not call onChange function for duplicate values']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
30,515
mui__material-ui-30515
['23043']
6b618938c28cc63728ae3d897d06c87a3c9736d3
diff --git a/docs/pages/api-docs/autocomplete.json b/docs/pages/api-docs/autocomplete.json --- a/docs/pages/api-docs/autocomplete.json +++ b/docs/pages/api-docs/autocomplete.json @@ -20,7 +20,7 @@ "clearText": { "type": { "name": "string" }, "default": "'Clear'" }, "closeText": { "type": { "name": "string" },...
diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -17,6 +17,7 @@ import Autocomplete, { autocompl...
[Autocomplete] Allow passing props to a custom PaperComponent in Autocomplete <!-- Provide a general summary of the feature in the Title above --> Often in components that allow customizing inner component types, there is a corresponding prop for passing props to that component (e.g. `PaperComponent` and `PaperProps` ...
Thanks for the report. Yeah, I think that #21453 should be the way forward. @mnajdova Implemented it in the slider: https://github.com/mui-org/material-ui/blob/5c9c97675f3e7d3978e664520f3fbbe595c78eee/packages/material-ui-lab/src/SliderUnstyled/SliderUnstyled.js#L792-L805 https://github.com/mui-org/material-ui/bl...
2022-01-06 11:06:51+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> click input when `openOnFocus` toggles if empty', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> highlight synchronisation should not update the highlight when multiple open and value change', 'packages/mui-m...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: componentsProps should apply the props on the Paper component']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
30,560
mui__material-ui-30560
['30230']
9acc563325ed3e9b2f741a4e422e5fec222a74b5
diff --git a/packages/mui-material/src/OutlinedInput/NotchedOutline.js b/packages/mui-material/src/OutlinedInput/NotchedOutline.js --- a/packages/mui-material/src/OutlinedInput/NotchedOutline.js +++ b/packages/mui-material/src/OutlinedInput/NotchedOutline.js @@ -21,7 +21,7 @@ const NotchedOutlineRoot = styled('fieldset...
diff --git a/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js b/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js --- a/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js +++ b/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js @@ -54,4 +54,14 @@ describe('<NotchedOutl...
[TextField] Notch appears when no label has been added ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 When using `TextField` without setting a `label` it seems to show a notch that spans the whole length of the Input. With ...
Please create an isolated reproduction using Codesandbox (https://mui.com/r/issue-template-latest). @michaldudak Textfields with cutouts Version 5.2.4 (https://codesandbox.io/s/formpropstextfields-material-demo-forked-5ynnp?file=/demo.tsx) Works fine with 5.2.3 @mbrookes why was this closed? It's still occurring ...
2022-01-09 13:36:47+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/TextField/TextField.test.js-><TextField /> MUI component API spreads props to the root component', 'packages/mui-material/src/TextField/TextField.test.js-><TextField /> with a helper text should apply the className to the FormHelperText', 'packages/mui-material/src/TextField/TextField.test.j...
['packages/mui-material/src/TextField/TextField.test.js-><TextField /> with an outline should render `0` label properly']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/TextField/TextField.test.js packages/mui-material/src/OutlinedInput/NotchedOutline.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/OutlinedInput/NotchedOutline.js->program->function_declaration:NotchedOutline"]
mui/material-ui
30,561
mui__material-ui-30561
['29310']
88aa00a1665d1c6bb642392d104c9188ee830799
diff --git a/packages/mui-lab/src/internal/pickers/PureDateInput.tsx b/packages/mui-lab/src/internal/pickers/PureDateInput.tsx --- a/packages/mui-lab/src/internal/pickers/PureDateInput.tsx +++ b/packages/mui-lab/src/internal/pickers/PureDateInput.tsx @@ -145,7 +145,7 @@ export const PureDateInput = React.forwardRef(fun...
diff --git a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx --- a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx +++ b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx @@ -2,7 +2,7 @@ import * as React fro...
readOnly MobileDatePicker doesn't work in MUI v5 <!-- Provide a general summary of the issue in the Title above --> readOnly has no effect on MobileDatePicker. The mobilepicker opens the date selector on click of the component. <!-- Thank you very much for contributing to MUI by creating an issue! ❤️ To avo...
Hi! I would like to work on this issue :)
2022-01-09 23:08:12+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> prop `toolbarFormat` – should format toolbar according to passed format', 'packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> should not be opened when "Choose date" is clicked when disabled={true}...
['packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> should not be opened when "Choose date" is clicked when readOnly={true}']
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
30,706
mui__material-ui-30706
['29344']
0c5c5fe36ca6c089e252e904d278efe74399fca4
diff --git a/docs/pages/api-docs/autocomplete.json b/docs/pages/api-docs/autocomplete.json --- a/docs/pages/api-docs/autocomplete.json +++ b/docs/pages/api-docs/autocomplete.json @@ -71,6 +71,7 @@ "PaperComponent": { "type": { "name": "elementType" }, "default": "Paper" }, "PopperComponent": { "type": { "name...
diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -12,7 +12,7 @@ import { import { spy } from 'sino...
Possibility to have a readOnly Autocomplete <!-- Provide a general summary of the feature in the Title above --> It would be nice to have a readOnly prop in the Autocomplete component, so it can behave as a readOnly when I am not allowed to edit it (it doesn't mean it should be disabled). <!-- Thank you very muc...
Hi, thanks for the idea. If we see there's a bigger interest in this, we'll prioritize it. As for now, a workaround I can think of (not the most elegant one, I admit) would be to render either the Autocomplete or a TextField, depending on the `readOnly` parameter. I found the same issue while implementing a complex fo...
2022-01-20 09:59:24+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> click input when `openOnFocus` toggles if empty', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> highlight synchronisation should not update the highlight when multiple open and value change', 'packages/mui-m...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: readOnly should not open the popup', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> prop: readOnly should not be able to delete the tag when multiple=true', 'packages/mui-material/src/Autocomplete/Autoc...
['packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.test.js->useAutocomplete should warn if the input is not binded']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
3
0
3
false
false
["docs/src/pages/components/autocomplete/Playground.js->program->function_declaration:Playground", "packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js->program->function_declaration:useAutocomplete", "docs/src/pages/components/autocomplete/Tags.js->program->function_declaration:Tags"]
mui/material-ui
30,768
mui__material-ui-30768
['30731']
3e47e937ae9204a493fa1c47c31bf477d9d57d9d
diff --git a/packages/mui-lab/src/internal/pickers/hooks/usePickerState.ts b/packages/mui-lab/src/internal/pickers/hooks/usePickerState.ts --- a/packages/mui-lab/src/internal/pickers/hooks/usePickerState.ts +++ b/packages/mui-lab/src/internal/pickers/hooks/usePickerState.ts @@ -1,7 +1,7 @@ import * as React from 'reac...
diff --git a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx --- a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx +++ b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx @@ -310,4 +310,32 @@ describe('<Mobil...
MobileDatePicker's Cancel button does not work. ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 1. Changes are not canceled when the CANCEL button is pressed. 2. Selecting a date will fire onChange, and the date will be upd...
has anyone started working on this issue? Can I pick this one? Not sure if this helps, but until this gets fixed, you could try creating a "cancel" effect on your end. You could use onOpen to determine what the value was before changes, and use onAccept and onClose to determine if the OK button was clicked or if t...
2022-01-25 05:34:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> prop `toolbarFormat` – should format toolbar according to passed format', 'packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> should not be opened when "Choose date" is clicked when disabled={true}...
['packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx-><MobileDatePicker /> should retain the values on clicking Cancel button']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-lab/src/MobileDatePicker/MobileDatePicker.test.tsx --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-lab/src/internal/pickers/hooks/usePickerState.ts->program->function_declaration:usePickerState"]
mui/material-ui
30,788
mui__material-ui-30788
['28886']
e47f22b9ea22bb61b10b6bbd0789781a779eb529
diff --git a/packages/mui-material/src/Select/Select.js b/packages/mui-material/src/Select/Select.js --- a/packages/mui-material/src/Select/Select.js +++ b/packages/mui-material/src/Select/Select.js @@ -12,12 +12,26 @@ import FilledInput from '../FilledInput'; import OutlinedInput from '../OutlinedInput'; import useT...
diff --git a/packages/mui-material/src/Select/Select.test.js b/packages/mui-material/src/Select/Select.test.js --- a/packages/mui-material/src/Select/Select.test.js +++ b/packages/mui-material/src/Select/Select.test.js @@ -1225,6 +1225,10 @@ describe('<Select />', () => { this.skip(); } + const rootSty...
[Select] Unable to override styles with variants - [X] The issue is present in the latest release. - [X] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate. ## Current Behavior 😯 I'm unable to provide style overrides for the `M...
Thanks for the report. It's either a bug or insufficient info in the docs. I'll take care of it. @michaldudak Can I take a look at it. @phudekar sure, go ahead! @phudekar did you reach any conclusion? No, not yet. I am being new to MUI source code, finding it difficult to identify the cause. @michaldudak @phudekar An...
2022-01-26 13:24:41+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Select/Select.test.js-><Select /> prop: SelectDisplayProps should apply additional props to trigger element', 'packages/mui-material/src/Select/Select.test.js-><Select /> prop: onChange should not be called if selected element has the current value (value did not change)', 'packages/mui-mate...
['packages/mui-material/src/Select/Select.test.js-><Select /> variant overrides should work for "outlined" variant', 'packages/mui-material/src/Select/Select.test.js-><Select /> variant overrides should work for "filled" variant', 'packages/mui-material/src/Select/Select.test.js-><Select /> variant overrides should wor...
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Select/Select.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
30,899
mui__material-ui-30899
['30807']
171942ce6e9f242900928620610a794daf8e559c
diff --git a/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js b/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js --- a/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js +++ b/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js @@ -140,6 +140,7 @@ BadgeUnstyled.propTypes /* remove-proptypes */ = { }), ...
diff --git a/packages/mui-material/src/Badge/Badge.test.js b/packages/mui-material/src/Badge/Badge.test.js --- a/packages/mui-material/src/Badge/Badge.test.js +++ b/packages/mui-material/src/Badge/Badge.test.js @@ -99,6 +99,18 @@ describe('<Badge />', () => { ).container; expect(findBadge(container)).not....
[Badge] showZero and invisible confusion ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 The Badge showZero property is tightly coupled with the invisible property. It is stated that the invisible property is a boo...
Hi. Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve I added a CodeSandbox in `Steps to reproduce`...
2022-02-03 17:50:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Badge/Badge.test.js-><Badge /> renders children and overwrite badge class', 'packages/mui-material/src/Badge/Badge.test.js-><Badge /> MUI component API ref attaches the ref', 'packages/mui-material/src/Badge/Badge.test.js-><Badge /> prop: anchorOrigin should apply style for bottom left recta...
['packages/mui-material/src/Badge/Badge.test.js-><Badge /> prop: invisible should render with invisible class when invisible and showZero are set to false and content is 0']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Badge/Badge.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-base/src/BadgeUnstyled/useBadge.ts->program->function_declaration:useBadge"]
mui/material-ui
31,340
mui__material-ui-31340
['30209']
21d1f491e3b19d2c277c9e47613c08df083fb84a
diff --git a/packages/mui-material/src/Grid/Grid.js b/packages/mui-material/src/Grid/Grid.js --- a/packages/mui-material/src/Grid/Grid.js +++ b/packages/mui-material/src/Grid/Grid.js @@ -312,9 +312,8 @@ const Grid = React.forwardRef(function Grid(inProps, ref) { const columnsContext = React.useContext(GridContext)...
diff --git a/packages/mui-material/src/Grid/Grid.test.js b/packages/mui-material/src/Grid/Grid.test.js --- a/packages/mui-material/src/Grid/Grid.test.js +++ b/packages/mui-material/src/Grid/Grid.test.js @@ -45,6 +45,36 @@ describe('<Grid />', () => { // otherwise, max-width would be 50% in this test expec...
[Grid] Wrong grid item width for nested containers with custom columns prop ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 Cell width is calculating incorrect for nested containers with custom `columns` prop. ```html <G...
I'm not sure if I understand the problem. I tried to reproduce it in codesandbox using the code you provided (I used 5-column grid for better visibility): https://codesandbox.io/s/proud-shape-gz9n1?file=/src/Demo.tsx The whole grid is 500px wide and the grey and green cells have 200px and 100px respectively, as I ex...
2022-03-06 14:07:52+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: item should apply the item class', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> MUI component API applies the root class to the root component if it has this class', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: spacing should not su...
['packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: container should apply the correct number of columns for nested containers with undefined prop columns', 'packages/mui-material/src/Grid/Grid.test.js-><Grid /> prop: container should apply the correct number of columns for nested containers with columns=12 (...
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Grid/Grid.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
32,182
mui__material-ui-32182
['32183']
c406cd6f89dcab6a223dbe77d833bc947ff64fdb
diff --git a/packages/mui-material/src/Link/Link.js b/packages/mui-material/src/Link/Link.js --- a/packages/mui-material/src/Link/Link.js +++ b/packages/mui-material/src/Link/Link.js @@ -117,6 +117,7 @@ const Link = React.forwardRef(function Link(inProps, ref) { sx, ...other } = props; + const sxColor = t...
diff --git a/packages/mui-material/src/Link/Link.test.js b/packages/mui-material/src/Link/Link.test.js --- a/packages/mui-material/src/Link/Link.test.js +++ b/packages/mui-material/src/Link/Link.test.js @@ -43,6 +43,16 @@ describe('<Link />', () => { expect(container.firstChild).not.to.have.class('link-body2'); ...
[Link] `sx` color value as a function no longer works ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 ```javascript import Link from '@mui/material/Link'; const style = { color: t => t.palette.primary.light, te...
null
2022-04-08 01:24:43+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Link/Link.test.js-><Link /> MUI component API prop: component can render another root component with the `component` prop', 'packages/mui-material/src/Link/Link.test.js-><Link /> keyboard focus should add the focusVisible class when focused', 'packages/mui-material/src/Link/Link.test.js-><Li...
['packages/mui-material/src/Link/Link.test.js-><Link /> using sx color as a function should not crash']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha test/regressions/fixtures/Link/LinkColor.js packages/mui-material/src/Link/Link.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
32,185
mui__material-ui-32185
['32177']
c406cd6f89dcab6a223dbe77d833bc947ff64fdb
diff --git a/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js b/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js --- a/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js +++ b/packages/mui-base/src/BadgeUnstyled/BadgeUnstyled.js @@ -4,7 +4,7 @@ import clsx from 'clsx'; import composeClasses from '../composeC...
diff --git a/packages/mui-material/src/Badge/Badge.test.js b/packages/mui-material/src/Badge/Badge.test.js --- a/packages/mui-material/src/Badge/Badge.test.js +++ b/packages/mui-material/src/Badge/Badge.test.js @@ -4,8 +4,12 @@ import { BadgeUnstyled } from '@mui/base'; import { createRenderer, describeConformance } f...
[Badge] Classes prop is no longer working ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 The latest v5.6.0 version breaks the support of the classes property on the Badge component. At least the invisible and the dot classe...
@michaldudak Could you confirm it was not on purpose? Thanks. Thanks for the report. This wasn't done on purpose. I'll work on a fix.
2022-04-08 08:29:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Badge/Badge.test.js-><Badge /> MUI component API ref attaches the ref', 'packages/mui-material/src/Badge/Badge.test.js-><Badge /> prop: anchorOrigin should apply style for bottom left rectangular', 'packages/mui-material/src/Badge/Badge.test.js-><Badge /> prop: anchorOrigin should apply styl...
['packages/mui-material/src/Badge/Badge.test.js-><Badge /> applies customized classes']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Badge/Badge.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
2
0
2
false
false
["packages/mui-base/src/BadgeUnstyled/badgeUnstyledClasses.ts->program->function_declaration:getBadgeUtilityClass", "packages/mui-base/src/BadgeUnstyled/badgeUnstyledClasses.ts->program->function_declaration:getBadgeUnstyledUtilityClass"]
mui/material-ui
32,403
mui__material-ui-32403
['29030']
4d49b7ae8a49caf32e2ca81041630fb0fa12d0f3
diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.js b/packages/mui-material/src/ListItemButton/ListItemButton.js --- a/packages/mui-material/src/ListItemButton/ListItemButton.js +++ b/packages/mui-material/src/ListItemButton/ListItemButton.js @@ -168,7 +168,8 @@ const ListItemButton = React.forwardR...
diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.test.js b/packages/mui-material/src/ListItemButton/ListItemButton.test.js --- a/packages/mui-material/src/ListItemButton/ListItemButton.test.js +++ b/packages/mui-material/src/ListItemButton/ListItemButton.test.js @@ -68,4 +68,76 @@ describe('<ListIte...
[ListItemButton] Specifying href doesn't automatically rendered as <a> <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to MUI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- Checked checkbox...
From what I check, it is because ListItemButton pass default component as 'div' to the ButtonBase. I think this can be fixed by providing some conditional before passing `component` prop. Something like this: ```diff diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.js b/packages/mui-material/src...
2022-04-21 07:06:31+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/ListItemButton/ListItemButton.test.js-><ListItemButton /> MUI component API spreads props to the root component', 'packages/mui-material/src/ListItemButton/ListItemButton.test.js-><ListItemButton /> context: dense should forward the context', "packages/mui-material/src/ListItemButton/ListIte...
['packages/mui-material/src/ListItemButton/ListItemButton.test.js-><ListItemButton /> prop: to should rendered as link when specifying component="div"', 'packages/mui-material/src/ListItemButton/ListItemButton.test.js-><ListItemButton /> prop: href should rendered as link without specifying component="a"', 'packages/mu...
['packages/mui-codemod/src/v5.0.0/preset-safe.test.js->@mui/codemod v5.0.0 preset-safe transforms props as needed']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/ListItemButton/ListItemButton.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
32,713
mui__material-ui-32713
['27532']
8a86d1e375943d33ddb4a19f272e8432ba1fa5c3
diff --git a/packages/mui-material/src/styles/createMixins.js b/packages/mui-material/src/styles/createMixins.js --- a/packages/mui-material/src/styles/createMixins.js +++ b/packages/mui-material/src/styles/createMixins.js @@ -2,8 +2,10 @@ export default function createMixins(breakpoints, mixins) { return { too...
diff --git a/packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js b/packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js --- a/packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js +++ b/packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js @@ -1,4 +1,6 @@ import { expect } fr...
Media queries merged in wrong order when some of them have default breakpoint <!-- Provide a general summary of the issue in the Title above --> <!-- Thank you very much for contributing to Material-UI by creating an issue! ❤️ To avoid duplicate issues we ask you to check off the following list. --> <!-- C...
You can define the `"@media (orientation: landscape)"` inside the `"@media (min-width:0px)"`: ``` const paperStyles = useMemo( () => ({ marginTop: "56px", "@media (min-width:0px)": { "@media (orientation: landscape)": { marginTop: "48px" } }, "@media (...
2022-05-10 10:09:35+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx `sx` of function type resolves system padding', 'packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx theme callback works on nested selectors', 'packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js...
['packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js->styleFunctionSx breakpoints writes breakpoints in correct order if default toolbar mixin is present in theme']
['packages/mui-codemod/src/v5.0.0/preset-safe.test.js->@mui/codemod v5.0.0 preset-safe transforms props as needed']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/styles/createMixins.js->program->function_declaration:createMixins"]
mui/material-ui
32,913
mui__material-ui-32913
['32214']
0fa01accc92c2945f24d4d6f15f0f269cf6e17e8
diff --git a/packages/mui-material/src/Stack/Stack.js b/packages/mui-material/src/Stack/Stack.js --- a/packages/mui-material/src/Stack/Stack.js +++ b/packages/mui-material/src/Stack/Stack.js @@ -60,7 +60,10 @@ export const style = ({ ownerState, theme }) => { const transformer = createUnarySpacing(theme); c...
diff --git a/packages/mui-material/src/Stack/Stack.test.js b/packages/mui-material/src/Stack/Stack.test.js --- a/packages/mui-material/src/Stack/Stack.test.js +++ b/packages/mui-material/src/Stack/Stack.test.js @@ -256,5 +256,69 @@ describe('<Stack />', () => { flexDirection: 'column', }); }); + + ...
[theme] Getting `styleFromPropValue` for spacing will return undefined when using custom breakpoint named small ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 Setting theme breakpoints like this ```js break...
Please provide a CodeSandbox reproducing the issue. The [issue template](https://material-ui.com/r/issue-template-latest) is a good starting point. Since the issue is missing key information, and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the mi...
2022-05-26 05:21:45+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Stack/Stack.test.js-><Stack /> should handle spacing with multiple keys and direction with one', 'packages/mui-system/src/breakpoints.test.js->breakpoints function: resolveBreakpointValues custom breakpoints given custom base, resolve breakpoint values for prop of object type', 'packages/mui...
['packages/mui-system/src/breakpoints.test.js->breakpoints function: resolveBreakpointValues custom breakpoints given custom base, resolve breakpoint values for prop of string type', 'packages/mui-material/src/Stack/Stack.test.js-><Stack /> prop: spacing should generate correct responsive styles if custom responsive sp...
['packages/mui-codemod/src/v5.0.0/preset-safe.test.js->@mui/codemod v5.0.0 preset-safe transforms props as needed']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Stack/Stack.test.js packages/mui-system/src/breakpoints.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-system/src/breakpoints.js->program->function_declaration:resolveBreakpointValues"]
mui/material-ui
33,312
mui__material-ui-33312
['33258']
03b616a1e015ff6ccfb665c5156e1b5359d2a6f1
diff --git a/docs/pages/base/api/use-autocomplete.json b/docs/pages/base/api/use-autocomplete.json --- a/docs/pages/base/api/use-autocomplete.json +++ b/docs/pages/base/api/use-autocomplete.json @@ -155,6 +155,11 @@ "default": "false", "required": true }, + "expanded": { + "type": { "name": "...
diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -2895,4 +2895,39 @@ describe('<Autocomplete />', (...
[Autocomplete] Add additional class names to Autocomplete if it is expanded ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Summary 💡 We'd like to introduce ~~3~~ an additional CSS "state"-classes to the Autocomplete component: - ...
null
2022-06-27 15:28:21+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> click input when `openOnFocus` toggles if empty', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> highlight synchronisation should not update the highlight when multiple open and value change', 'packages/mui-m...
['packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> should apply the expanded class when listbox having options is opened', 'packages/mui-material/src/Autocomplete/Autocomplete.test.js-><Autocomplete /> should apply the expanded class when listbox having no options is opened']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Autocomplete/Autocomplete.test.js --reporter /testbed/custom-reporter.js --exit
Feature
false
true
false
false
1
0
1
true
false
["packages/mui-base/src/useAutocomplete/useAutocomplete.js->program->function_declaration:useAutocomplete"]
mui/material-ui
33,526
mui__material-ui-33526
['31960']
ddbde9c543c928fd470b2f597dbd56961d3ab7dd
diff --git a/packages/mui-base/src/SliderUnstyled/SliderUnstyled.js b/packages/mui-base/src/SliderUnstyled/SliderUnstyled.js --- a/packages/mui-base/src/SliderUnstyled/SliderUnstyled.js +++ b/packages/mui-base/src/SliderUnstyled/SliderUnstyled.js @@ -210,7 +210,7 @@ const SliderUnstyled = React.forwardRef(function Slid...
diff --git a/packages/mui-material/src/Slider/Slider.test.js b/packages/mui-material/src/Slider/Slider.test.js --- a/packages/mui-material/src/Slider/Slider.test.js +++ b/packages/mui-material/src/Slider/Slider.test.js @@ -987,6 +987,18 @@ describe('<Slider />', () => { expect(container.querySelectorAll(`.${classe...
[Slider] Remove not needed mark in range Sliders ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 Whenever both the start and the end points have been dragged to the end of the slider an extra mark has been added at the end o...
Hi @SooriyanDSRC, could you please provide a codesandbox showing the problem? It may be that a certain combination of props causes the problem. I face the same issue. @michaldudak here is a codesandbox link in case it helps. [https://codesandbox.io/s/material-demo-forked-tlu40e?file=/demo.js](https://codesandbox.io/...
2022-07-15 19:40:25+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Slider/Slider.test.js-><Slider /> prop: track should render the track classes for inverted', 'packages/mui-material/src/Slider/Slider.test.js-><Slider /> should support getAriaLabel', 'packages/mui-material/src/Slider/Slider.test.js-><Slider /> prop: components should render custom component...
['packages/mui-material/src/Slider/Slider.test.js-><Slider /> should correctly display mark labels when ranges slider have the same start and end']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Slider/Slider.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
33,582
mui__material-ui-33582
['33230']
b2e1f01ef7d2433c92829dffd30e4ba484bd3d4f
diff --git a/docs/pages/material-ui/api/alert.json b/docs/pages/material-ui/api/alert.json --- a/docs/pages/material-ui/api/alert.json +++ b/docs/pages/material-ui/api/alert.json @@ -10,6 +10,17 @@ "description": "'error'<br>&#124;&nbsp;'info'<br>&#124;&nbsp;'success'<br>&#124;&nbsp;'warning'<br>&#124;&nbsp;st...
diff --git a/packages/mui-material/src/Alert/Alert.test.js b/packages/mui-material/src/Alert/Alert.test.js --- a/packages/mui-material/src/Alert/Alert.test.js +++ b/packages/mui-material/src/Alert/Alert.test.js @@ -4,6 +4,8 @@ import { createRenderer, describeConformance, screen } from 'test/utils'; import { ThemeProv...
[Alert] Add ability to change default icon rendered when `onClose` is provided ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Summary 💡 The icon for the close IconButton when `onClose` is provided to Alert is hard-coded to be the MU...
Looks like we can add the `components` & `componentsProps` API here to allow people to override all slots available.
2022-07-19 21:55:48+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/Alert/Alert.test.js-><Alert /> MUI component API should render without errors in ReactTestRenderer', 'packages/mui-material/src/Alert/Alert.test.js-><Alert /> MUI component API applies the className to the root component', 'packages/mui-material/src/Alert/Alert.test.js-><Alert /> MUI compone...
['packages/mui-material/src/Alert/Alert.test.js-><Alert /> prop: components should override the default button used in the close action', 'packages/mui-material/src/Alert/Alert.test.js-><Alert /> prop: components should override the default icon used in the close action', 'packages/mui-material/src/Alert/Alert.test.js-...
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/Alert/Alert.test.js --reporter /testbed/custom-reporter.js --exit
Feature
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
33,621
mui__material-ui-33621
['32942', '32942']
5597c1223ccaa27c96c512acc6f7392a140836f2
diff --git a/packages/mui-material/src/styles/createTypography.js b/packages/mui-material/src/styles/createTypography.js --- a/packages/mui-material/src/styles/createTypography.js +++ b/packages/mui-material/src/styles/createTypography.js @@ -72,6 +72,13 @@ export default function createTypography(palette, typography) ...
diff --git a/packages/mui-material/src/styles/CssVarsProvider.test.js b/packages/mui-material/src/styles/CssVarsProvider.test.js --- a/packages/mui-material/src/styles/CssVarsProvider.test.js +++ b/packages/mui-material/src/styles/CssVarsProvider.test.js @@ -246,7 +246,7 @@ describe('[Material UI] CssVarsProvider', () ...
Link with `component=button` does not use custom font ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 When adding a custom font all components work well (like Typography Link and Button) But when using `<Link comp...
The problem here is that the Link component does not explicitly set its `font-family` but inherits the one from the parent element. This way it uses the same style as the surrounding text and can be placed in headers, paragraphs, etc. without any changes. When you supply a `button` to the component prop, this style in...
2022-07-23 20:03:05+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-material/src/styles/createTypography.test.js->createTypography should create a typography with a custom baseFontSize', 'packages/mui-material/src/styles/CssVarsProvider.test.js->[Material UI] CssVarsProvider Skipped vars should not contain `variants` in theme.vars', 'packages/mui-system/src/styleFunction...
['packages/mui-material/src/styles/CssVarsProvider.test.js->[Material UI] CssVarsProvider Typography contain expected typography', 'packages/mui-material/src/styles/createTypography.test.js->createTypography should apply font CSS properties to inherit variant']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/styles/CssVarsProvider.test.js packages/mui-material/src/styles/createTypography.test.js packages/mui-system/src/styleFunctionSx/styleFunctionSx.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-material/src/styles/createTypography.js->program->function_declaration:createTypography"]
mui/material-ui
33,734
mui__material-ui-33734
['33410']
4f13ea78342d956c2595a23859097121d1d11e09
diff --git a/packages/mui-material/src/StepLabel/StepLabel.js b/packages/mui-material/src/StepLabel/StepLabel.js --- a/packages/mui-material/src/StepLabel/StepLabel.js +++ b/packages/mui-material/src/StepLabel/StepLabel.js @@ -28,7 +28,14 @@ const useUtilityClasses = (ownerState) => { disabled && 'disabled', ...
diff --git a/packages/mui-material/src/StepLabel/StepLabel.test.js b/packages/mui-material/src/StepLabel/StepLabel.test.js --- a/packages/mui-material/src/StepLabel/StepLabel.test.js +++ b/packages/mui-material/src/StepLabel/StepLabel.test.js @@ -201,4 +201,32 @@ describe('<StepLabel />', () => { expect(getByTes...
[Stepper] Mui-active / Mui-completed classes are not applied to icon container ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 CSS classes `.Mui-active` and `.Mui-completed` are not applied to `MuiStepLabel` iconCo...
~I think this is quite similar to https://github.com/mui/material-ui/issues/33388.~ Sorry, it is not. I agree that the `.Mui-active` class should be applied to the StepRoot as well. So it becomes `.MuiStep-root.Mui-active` Hey, @siriwatknp I would like to work on this issue if no one else is working on it. Than...
2022-08-01 05:11:09+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
["packages/mui-material/src/StepLabel/StepLabel.test.js-><StepLabel /> MUI component API theme default components: respect theme's defaultProps", 'packages/mui-material/src/StepLabel/StepLabel.test.js-><StepLabel /> prop: StepIconComponent should render', 'packages/mui-material/src/StepLabel/StepLabel.test.js-><StepLab...
['packages/mui-material/src/StepLabel/StepLabel.test.js-><StepLabel /> renders <StepIcon> with the className completed renders with completed className when completed', 'packages/mui-material/src/StepLabel/StepLabel.test.js-><StepLabel /> renders <StepIcon> with the className active renders with active className when a...
['packages/mui-codemod/src/v5.0.0/preset-safe.test.js->@mui/codemod v5.0.0 preset-safe transforms props as needed']
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-material/src/StepLabel/StepLabel.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
true
false
false
false
0
0
0
false
false
[]
mui/material-ui
33,774
mui__material-ui-33774
['33443']
1dca946d80bb76cbd11ac3a7147119290332d406
diff --git a/packages/mui-system/src/createBox.js b/packages/mui-system/src/createBox.js --- a/packages/mui-system/src/createBox.js +++ b/packages/mui-system/src/createBox.js @@ -11,7 +11,9 @@ export default function createBox(options = {}) { generateClassName, styleFunctionSx = defaultStyleFunctionSx, } =...
diff --git a/packages/mui-system/src/createBox.test.js b/packages/mui-system/src/createBox.test.js --- a/packages/mui-system/src/createBox.test.js +++ b/packages/mui-system/src/createBox.test.js @@ -1,5 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; +import { spy } from 'sinon'; import { crea...
[System] MUI duplicates `sx` props when it's used with `component` prop ### Duplicates - [X] I have searched the existing issues ### Latest version - [X] I have tested the latest version ### Current behavior 😯 If we specify another component in `component` prop and provide `sx` prop, MUI duplicates eve...
The problem seems to appear only in development mode. When you create a production version of the application, the styles aren't duplicated. The Box should not forward the `sx` prop to the override component. This issue can be easily fixed by: ```diff diff --git a/packages/mui-system/src/createBox.js b/packages/mui-s...
2022-08-03 07:26:22+00:00
TypeScript
FROM polybench_typescript_base WORKDIR /testbed COPY . . RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install --legacy-peer-deps RUN . /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npm install -D @types/prop-types @types/react-dom @types/testing-library__react @types/sinon @types/chai @types/chai-dom @types/format...
['packages/mui-system/src/createBox.test.js->createBox overridable via `component` prop', 'packages/mui-system/src/createBox.test.js->createBox should accept sx prop', 'packages/mui-system/src/createBox.test.js->createBox should not have `as` and `theme` attribute spread to DOM', 'packages/mui-system/src/createBox.test...
['packages/mui-system/src/createBox.test.js->createBox should still call styleFunctionSx once']
[]
. /usr/local/nvm/nvm.sh && nvm use 18.8.0 && npx cross-env NODE_ENV=test mocha packages/mui-system/src/createBox.test.js --reporter /testbed/custom-reporter.js --exit
Bug Fix
false
true
false
false
1
0
1
true
false
["packages/mui-system/src/createBox.js->program->function_declaration:createBox"]