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. #1252

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

sudeshyadav-pws
Copy link
Contributor

Description

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.

After mui#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`.
@codecov
Copy link

codecov bot commented Aug 13, 2019

Codecov Report

Merging #1252 into next will decrease coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##            next    #1252      +/-   ##
=========================================
- Coverage   94.2%   94.13%   -0.08%     
=========================================
  Files         56       56              
  Lines       1415     1415              
  Branches     200      200              
=========================================
- Hits        1333     1332       -1     
- Misses        64       65       +1     
  Partials      18       18
Impacted Files Coverage Δ
lib/src/_shared/WithUtils.tsx 100% <ø> (ø) ⬆️
lib/src/views/Clock/ClockPointer.tsx 92% <ø> (-4%) ⬇️
lib/src/_helpers/text-field-helper.ts 95.45% <ø> (ø) ⬆️
lib/src/_shared/hooks/useKeyboardPickerState.ts 84.61% <ø> (ø) ⬆️
lib/src/views/Calendar/Calendar.tsx 85.83% <ø> (ø) ⬆️
lib/src/DateTimePicker/DateTimePickerToolbar.tsx 91.66% <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 ea4c299...b82907c. Read the comment docs.

@dmtrKovalenko dmtrKovalenko merged commit b49b34a into mui:next Aug 13, 2019
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
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.

2 participants