Code Monkey home page Code Monkey logo

material-date-range-picker's People

Contributors

dreamsparkx avatar guntrambechtold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

material-date-range-picker's Issues

'isWithinRange' is not exported from 'date-fns'.

After importing it, I get the following error:

Failed to compile
./node_modules/material-date-range-picker/dist/material-ui-pickers.esm.js
Attempted import error: 'isWithinRange' is not exported from 'date-fns'.

date-fns changelog
BREAKING: functions renamed:
areRangesOverlapping → areIntervalsOverlapping
eachDay → eachDayOfInterval
getOverlappingDaysInRanges → getOverlappingDaysInIntervals
isWithinRange → isWithinInterval

This could be the problem?

Need Update, for latest Material UI Version

Several import is not suitable with latest material ui, and i facing some issue

Error: You are calling withTheme(Component) with an undefined component. You may have forgotten to import it.

error found in material-ui-pickers.esm.js:133
`
var SelectableCell = withTheme()(styled(Cell)(_templateObject5(), getBorderRadius, function (_ref5) {
var theme = _ref5.theme,
isCurrent = _ref5.isCurrent;
return isCurrent ? fromTheme(theme, 'current', '#9e9e9e') : 'transparent';
}, getBackground, getColor));

`

Remove Focus

Is there any way to remove focus from the component if the from and to date are selected. Even after selecting it keeps the date picker window opened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.