Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove direct @material-ui/core imports #1236

Merged
merged 1 commit into from
Aug 7, 2019
Merged

Conversation

dmtrKovalenko
Copy link
Member

This PR closes #1235

@cypress
Copy link

cypress bot commented Aug 7, 2019



Test summary

50 0 0 0


Run details

Project material-ui-pickers
Status Passed
Commit 845a2e5
Started Aug 7, 2019 1:01 PM
Ended Aug 7, 2019 1:02 PM
Duration 00:55 💡
OS Linux Debian - 8.11
Browser Electron 61

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@codecov
Copy link

codecov bot commented Aug 7, 2019

Codecov Report

Merging #1236 into next will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##            next   #1236   +/-   ##
=====================================
  Coverage   94.2%   94.2%           
=====================================
  Files         56      56           
  Lines       1415    1415           
  Branches     210     200   -10     
=====================================
  Hits        1333    1333           
  Misses        64      64           
  Partials      18      18
Impacted Files Coverage Δ
lib/src/wrappers/StaticWrapper.tsx 62.5% <100%> (ø) ⬆️
lib/src/_shared/KeyboardDateInput.tsx 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7bb469f...845a2e5. Read the comment docs.

@dmtrKovalenko dmtrKovalenko merged commit d04cadb into next Aug 7, 2019
dmtrKovalenko pushed a commit that referenced this pull request Aug 13, 2019
After #1236, a few imports were remaining, remove those imports.
Also use type `Omit` from typescript utility types. This will ensure
zero direct references to `@material-ui/core`.
kizzetipong added a commit to kizzetipong/material-ui-thai-datepickers that referenced this pull request Aug 30, 2019
* newdev: (671 commits)
  Re-implement based from v3.2.4 - fix issue yyyy case sensitive / unexpected TODO from year selector
  v3.2.4
  Restore support of lib instnace (mui#1281)
  Fix ts error and formik example (mui#1280)
  v3.2.3
  Update patrons list
  Add mention of renamed `moment` property (mui#1268)
  [a11y] Open picker by space click (mui#1266)
  Do not allow input any chars when value is nul (mui#1265)
  Dispatch onChange before onClose (mui#1264)
  Refactor wrapping <Picker /> in state to be 1 component (mui#1263)
  [InlineWrapper]: Don't force any width on the paper (mui#1248) (mui#1261)
  Remove direct `@material-ui/core` imports. (mui#1252)
  [docs] Fix typo in date-fns localization title
  Fix direct @material-ui/core imports (mui#1236)
  Update prop-types.json
  Ovveride keyboard datepicker onChange date type
  [docs] Show DateIOType instead of anys  (mui#1228)
  Update release script
  v3.2.2
  ...

# Conflicts:
#	README.md
#	docs/src/Examples/Demo/DatePicker/BasicDatePicker.jsx
#	docs/src/Examples/Demo/DatePicker/InlineDatePicker.jsx
#	docs/src/Examples/Demo/DateTimePicker/BasicDateTimePicker.jsx
#	docs/src/Examples/Demo/DateTimePicker/InlineDateTimePicker.jsx
#	lib/package.json
#	lib/src/DatePicker/DatePicker.jsx
#	lib/src/DatePicker/DatePickerInline.jsx
#	lib/src/DatePicker/DatePickerModal.jsx
#	lib/src/DatePicker/components/Calendar.jsx
#	lib/src/DatePicker/components/CalendarHeader.jsx
#	lib/src/DatePicker/components/YearSelection.jsx
#	lib/src/DateTimePicker/DateTimePicker.jsx
#	lib/src/DateTimePicker/DateTimePickerInline.jsx
#	lib/src/DateTimePicker/DateTimePickerModal.jsx
#	lib/src/DateTimePicker/components/DateTimePickerHeader.jsx
#	lib/src/_shared/DateTextField.jsx
@dmtrKovalenko dmtrKovalenko deleted the bugfix/mui-imports branch January 19, 2020 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

material-ui imports treeshakeable
1 participant