Git Product home page Git Product logo

react-native-calendario's Introduction

React Native Calendar 📆

Coverlogo

BuildStatus NPM version npm CodeFactor Codacy Badge PRs Welcome

Installation

npm install react-native-calendario --save

Using yarn

yarn add react-native-calendario

Usage

import { Calendar } from 'react-native-calendario';
<Calendar
  onChange={(range) => console.log(range)}
  minDate={new Date(2018, 3, 20)}
  startDate={new Date(2018, 3, 30)}
  endDate={new Date(2018, 4, 5)}
  theme={{
    activeDayColor: {},
    monthTitleTextStyle: {
      color: '#6d95da',
      fontWeight: '300',
      fontSize: 16,
    },
    emptyMonthContainerStyle: {},
    emptyMonthTextStyle: {
      fontWeight: '200',
    },
    weekColumnsContainerStyle: {},
    weekColumnStyle: {
      paddingVertical: 10,
    },
    weekColumnTextStyle: {
      color: '#b6c1cd',
      fontSize: 13,
    },
    nonTouchableDayContainerStyle: {},
    nonTouchableDayTextStyle: {},
    startDateContainerStyle: {},
    endDateContainerStyle: {},
    dayContainerStyle: {},
    dayTextStyle: {
      color: '#2d4150',
      fontWeight: '200',
      fontSize: 15,
    },
    dayOutOfRangeContainerStyle: {},
    dayOutOfRangeTextStyle: {},
    todayContainerStyle: {},
    todayTextStyle: {
      color: '#6d95da',
    },
    activeDayContainerStyle: {
      backgroundColor: '#6d95da',
    },
    activeDayTextStyle: {
      color: 'white',
    },
    nonTouchableLastMonthDayTextStyle: {},
  }}
/>

API

Prop Description Required? Default Type
onChange (deprecated) Callback called when a day is pressed. no Function
onPress Callback called when a day is pressed. yes (Date) => void
minDate Minimum date that can be selected. no null Date
maxDate Maximum date that can be selected. no null Date
startDate Selected start date no null Date
endDate Selected end date requires startDate null Date
theme Calendar StyleSheet no null ThemeType
locale Calendar language es, en, fr, br 'en' LocaleType
dayNames Array of day names no [] string[]
monthNames Array of names of each mo no [] string[]
showWeekdays Show Week columns no true boolean
showMonthTitle Show Month title no true boolean
initialListSize FlatList initialNumToRender no 2 number
startingMonth First month to render no current month 'YYYY-MM-DD'
numberOfMonths Number of months to render no 12 number
disableRange Turn off range date selection no false boolean
firstDayMonday Monday as first day of the week no false boolean
monthHeight Change Month row height no 370 number
markedDays Multi-dot support on Day component no undefined MarkedDays
disabledDays Disabled days no null {[string]: any }
renderDayContent Render custom Day content no null Function
renderAllMonths Use this for web, render all months no null boolean
viewableItemsChanged handleViewableItemsChange callback no null Function
disableOffsetDays Remove offset Days. no false boolean

License

MIT

react-native-calendario's People

Contributors

greenkeeper[bot] avatar hsuarezfolder avatar maggialejandro avatar maggialejandro-rp avatar mendezand avatar mloisotto avatar mvolonnino avatar renovate-bot avatar renovate[bot] avatar ryanmagoon avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-calendario's Issues

2.0 breaking changes?

Are there any release notes to version 2.0.0? The selection does not seem to work the same way as in the previous version.

Please no FlatList

Would be nice if the calendar was not wrapped in a FlatList. I would rather wrap it myself to a ScrollView. Not I get this warning and need to implement a one row FlatList.

WARN VirtualizedLists should never be nested inside plain ScrollViews with the same orientation - use another VirtualizedList-backed container instead.

scrollToIndex out of range

Hi, I tried to use this library, but I get the following error:
scrollToIndex out of range: -1 vs 11
screenshot_20181018-212254

what am I doing wrong?

this is my code:

<Calendar
    onChange={range => console.log(range)}
    startDate="2018-04-30"
    endDate="2018-05-05"
    locale="es"
/>

thanks for your help.

Select multiple dates out of range

Hello!

Is there a way to have multiple selections on the calendar? Reading through the code, it seems like there's no way to do that currently. If not, is this a feature you'd be interested in me implementing?

Overlapping month name

April title is positioned on top of the last week of March. When I scroll down to May, it's title is positioned correctly.

Version: 1.0.0 in Android

calendarbug

Make certains dates selected

Hi,
How can i display default selected date (like stored range array), without changing range by user interaction?
Thanks Advance

How to implement the use of DisableRange prop

Hey
Im currently trying to implement the use of DisableRange prop.
I set it to true as follow:

<Calendar
onChange={(startDate) => {
handleOneDay(startDate); // Here is the problem
}}
minDate={new Date()}
startDate={new Date()}
endDate={new Date()}
disableOffsetDays={true}
disableRange={true}

But what im trying to do is to pass the selected date to a function that will handle it and treat the selected date as start date and end date.

suggestions??

An in-range update of eslint-plugin-prettier is breaking the build 🚨

The devDependency eslint-plugin-prettier was updated from 3.0.0 to 3.0.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 15 commits.

  • d4231c2 Build: update package.json and changelog for v3.0.1
  • 4a0e57d Catch and format SyntaxErrors as eslint violations (#141)
  • d34daed build(deps-dev): bump eslint from 5.11.0 to 5.11.1
  • 7f4f45d build(deps-dev): bump eslint from 5.10.0 to 5.11.0
  • 5be3bcf build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1
  • 11e7c44 build(deps-dev): bump eslint from 5.9.0 to 5.10.0
  • 9e5bf14 build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0
  • 234583a build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3
  • 8675d57 build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2
  • 2379e93 Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0
  • 3ea0021 Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0
  • c774fb8 Upgrade: Bump eslint from 5.8.0 to 5.9.0
  • 2a4fba0 build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 (#121)
  • 29caa29 build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 (#120)
  • 2836350 build(deps-dev): bump eslint from 5.6.0 to 5.8.0 (#119)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

after calling onChange hooks func, no selected date container appears

Current behaviour

I added a text field above the calendar to show the selected date,
and in onChange function I call the set function using useState HOOKS
but the selected container around the selected day doesn't appear unless I pressed on the day
twice.

Expected behaviour

After I press on a day the circular container around it should appear

Code sample

{selectedDate} { // setTimeout(() => { setSelectedDate(date.startDate.toDateString()) // }, 500) }} minDate={new Date(2018, 3, 20)} startDate={new Date(2018, 3, 30)} endDate={new Date(2018, 4, 5)} disableRange={true} /> ### Screenshots (if applicable)

What have you tried

Your Environment

Click To Expand

react-native info output:

OS: macOS 10.15.2
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 179.43 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1

An in-range update of eslint-plugin-jsx-a11y is breaking the build 🚨

Version 6.1.0 of eslint-plugin-jsx-a11y was just published.

Branch Build failing 🚨
Dependency eslint-plugin-jsx-a11y
Current Version 6.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jsx-a11y is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes Support eslint v5

6.1.0 / 2018-06-26

  • [new] Support for eslint v5, #451
  • [new] aria-query updated to latest version
  • [new] eslint-config-airbnb-base updated to the latest version
  • [deprecate] The rule label-has-for is deprecated and replaced with label-has-associated-control
  • [fix] heading-has-content updated to work with custom components, #431
  • [fix] aria-errormessage prop is now a valid ARIA property, #424
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Selecting a day, onChange returns day selected - 1

As the title says, when I select, for example, the 8th of may, in the onChange I receive the 7th of may. Could this have something to do with date locales?

UPDATE: Ok, I didn't notice that parsing the string returned with new Date(range.startDate) returns the correct date, so I suppose it is a timezone matter as I was thinking. Could you expand on this a little bit? What I don't get is why calling new Date sets it to my timezone in browser but not on android or ios in react native

The Calendar language When to support chinese?

The Calendar language When to support chinese? 😘😘😘

// month   
case 'zh':
  return [
    '一月',
    '二月',
    '三月',
    '四月',
    '五月',
    '六月',
    '七月',
    '八月',
    '九月',
    '十月',
    '十一月',
    '十二月',
  ];
// week
case 'zh':
  return ['日', '一', '二', '三', '四', '五', '六'];

like this~~
image

An in-range update of eslint-plugin-jsx-a11y is breaking the build 🚨

The devDependency eslint-plugin-jsx-a11y was updated from 6.1.1 to 6.1.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jsx-a11y is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for Minor fixes and documentation updates

6.1.2 / 2018-10-05
[fix] Add link-type styling recommendation to anchor-is-valid #486
[fix] label-has-for: textareas are inputs too #470

Commits

The new version differs by 12 commits.

  • c538d35 6.1.2
  • ea964b1 Update changelog
  • 43d1d94 Add link-type styling recommendation to anchor-is-valid
  • 71819a0 [Docs] accessible-emoji: plural of emoji is emoji
  • 4a0608b [Docs] label-has-associated-control: update label id
  • 9957219 [Tests] temporarily allow node 4 + eslint 4 to fail
  • 969ce6d [Dev Deps] add missing dev dep
  • 1be1744 [Tests] use nvm install-latest-npm
  • 9103c7a [Tests] add additional test case for #474
  • bbad58a Merge pull request #471 from ljharb/textarea
  • 47633fb [Fix] label-has-for: textareas are inputs too
  • c1bf3c1 Update aria-props.md to link to the correct doc

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

max/min Date issue

It seems the max is 1 year from current date and it didn't override the new passed maxDate.

Thanks.

Undefined is not a function

When I wrapped Calendar to FlatList instead of ScrollView the calendar started to cause the following error when trying to set startDate to anything in the visible range. Any idea what might cause this?

TypeError: undefined is not a function

This error is located at:
    in Calendar (at MyFile.js:35)
    ....

Selected Day presents 1 days before selected

When im selecting a date, for example(24/09/2020), the log presenting (23/09/2020) aka the day before the on i selected

The Expected behaviour is that the day i selected will be presented

Code sample

Took the code from your Docs

Screenshots (if applicable)

https://imgur.com/a/fZD0Vl7
https://imgur.com/Nky6vFY

What have you tried

tried to search on google how to convert to local time in React native, couldn't find anything useful.

Your Environment

Visual studio code - React native Expo

react-native info output:

 OUTPUT GOES HERE

Selected Date Differs 1 Day

Hi, I would like to report a possibly bug.
when I select the date of the calendar, it's always behind a day in my case.
Could you explain this problem?

for instance, I select July 2nd, 2020. however the console log shows "startDate": 2020-07-01T17:00:00.000Z

P.S. I am using Android device anyway.

Image Selected Date
image

Image Console Output
image

Make certain dates unselectable

Hi,

I'm working on an airbnb-like calendar where the user can select dates to book but I want to make unselectable the dates that are already booked, do you know how I can do that with calendario?

Thanks,

Théo

[Problem] When updating startDate, it does not scroll to that month

I think that's an issue but not sure, guide me if I am wrong.

<Calendar
          startDate={formatDate(this.state.currentDate, Formats.YYYYMMDD)}
          startingMonth="1960-01-01"
          numberOfMonths={730}
          monthHeight={450}
          viewableItemsChanged={this.updateCurrentDate}
        />

I have other component where I can select month or year. I change the currentDate in state when user changes month/year.
But this Calendar view is not updated to that month/year.

I saw source code, I guess issue is in componentWillReceiveProps
You're just updating startDate and endDate. What about FlatList? It won't scroll automatically if you don't update it.
I think you need to use scrollToOffset() to scroll to new date.

A way to give month and day names

Now it's impossible to localize the calendar if the UI language is something else than en, es, br, fr. Would be nice to be able to give an array of month names and an array of weekday names.

Feature request

Rather than using YYYY-MM-DD, i suggest you have other option to read milliseconds too.
It will help so much, give me your thought

Month container style

Hi,
How to change monthContainerStyle? For example backgroundColor.
In documentation, I saw only emptyMonthContainerStyle.

An in-range update of eslint-plugin-jsx-a11y is breaking the build 🚨

The devDependency eslint-plugin-jsx-a11y was updated from 6.2.1 to 6.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jsx-a11y is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 102 commits.

  • 057fb27 6.2.2
  • fc56208 Merge pull request #615 from evcohen/changelog--v6.2.2
  • 8c5f964 Changelog for v6.2.2
  • f82fbcb Merge pull request #614 from evcohen/update--jsx-ast-utils
  • 1c3e63a Update jsx-ast-utils to v2.2.1
  • c571293 Merge pull request #613 from evcohen/add-babel-to-dev-deps
  • c398d3a Add @babel/cli to the dev dependencies
  • 13b370c Merge pull request #610 from evcohen/greenkeeper/flow-bin-0.102.0
  • e28b81a Merge branch 'master' into greenkeeper/flow-bin-0.102.0
  • e3163e3 Merge pull request #603 from evcohen/another-attempt-at-eslint-v6
  • f121a78 Merge branch 'master' into another-attempt-at-eslint-v6
  • f3de162 Merge pull request #611 from evcohen/update-jsx-ast-utils
  • 91f17be Update ESLint to v6
  • 1eb9f19 Update jsx-ast-utils to 2.2.0
  • 313bc03 chore(package): update flow-bin to version 0.102.0

There are 102 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Can i select only 1 Day as range?

Hey,
If i would like to select only 1 day as range, for example:
Im a business owner who open 1 day a week and i want to select only this day, am i able to do this?

Whenever im doing it the selected date is disappear and the app is stuck.

dont know how to change the label im sorry its not a bug

Readme broken

This line in readme.md is broken:

| **locale** | Calendar language (es | en | fr | br) | 'en' | string | |

An in-range update of eslint-plugin-import is breaking the build 🚨

The devDependency eslint-plugin-import was updated from 2.16.0 to 2.17.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 61 commits.

  • 0499050 bump to v2.17.0
  • f479635 [webpack] v0.11.1
  • 8a4226d Merge pull request #1320 from bradzacher/export-ts-namespaces
  • 988e12b fix(export): Support typescript namespaces
  • 70c3679 [docs] make rule names consistent
  • 6ab25ea [Tests] skip a TS test in eslint < 4
  • 405900e [Tests] fix tests from #1319
  • 2098797 [fix] export: false positives for typescript type + value export
  • 70a59fe [fix] Fix overwriting of dynamic import() CallExpression
  • e4850df [ExportMap] fix condition for checking if block comment
  • 918567d [fix] namespace: add check for null ExportMap
  • 2d21c4c Merge pull request #1297 from echenley/ech/fix-isBuiltIn-local-aliases
  • 0ff1c83 [dev deps] lock typescript to ~, since it doesn’t follow semver
  • 40bf40a [*] [deps] update resolve
  • 28dd614 Merge pull request #1304 from bradennapier/feature/typescript-export-type

There are 61 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Design

Hi.
I can help you in aspects of graphic designs. If you want I can create a logo.

Greetings.

An in-range update of eslint-plugin-react is breaking the build 🚨

The devDependency eslint-plugin-react was updated from 7.14.0 to 7.14.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v7.14.1

Fixed

  • Fix prop-types crash on multiple destructuring (#2319 @golopot)
Commits

The new version differs by 3 commits.

  • 62255af Update CHANGELOG and bump version
  • 655eb01 Merge pull request #2320 from golopot/issue-2319
  • 9639d82 [Fix] prop-types: fix crash on multiple destructuring

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

The devDependency eslint was updated from 6.3.0 to 6.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v6.4.0
  • e915fff Docs: Improve examples and clarify default option (#12067) (Yuping Zuo)
  • 540296f Update: enforceForClassMembers option to accessor-pairs (fixes #12063) (#12192) (Milos Djermanovic)
  • d3c2334 Update: flag nested block with declaration as error (#12193) (David Waller)
  • b2498d2 Update: Fix handling of property names in no-self-assign (#12105) (Milos Djermanovic)
  • 1ee61b0 Update: enforceForClassMembers computed-property-spacing (fixes #12049) (#12214) (Milos Djermanovic)
  • 520c922 Docs: Added naming convention details to plugin usage (#12202) (Henrique Barcelos)
  • f826eab Fix: Allow line comment exception in object-curly-spacing (fixes #11902) (#12216) (Milos Djermanovic)
  • db2a29b Update: indentation of comment followed by semicolon (fixes #12232) (#12243) (Kai Cataldo)
  • ae17d1c Fix: no-sequences is reporting incorrect locations (#12241) (Milos Djermanovic)
  • 365331a Fix: object-shorthand providing invalid fixes for typescript (#12260) (Brad Zacher)
  • 1c921c6 New: add no-import-assign (fixes #12237) (#12252) (Toru Nagashima)
  • 3be04fd New: Add prefer-regex-literals rule (fixes #12238) (#12254) (Milos Djermanovic)
  • 37c0fde Update: Report global Atomics calls in no-obj-calls (fixes #12234) (#12258) (Milos Djermanovic)
  • 985c9e5 Fix: space-before-function-paren autofix removes comments (fixes #12259) (#12264) (Milos Djermanovic)
  • 01da7d0 Fix: eqeqeq rule reports incorrect locations (#12265) (Milos Djermanovic)
  • 319e4d8 Docs: adding finally example (#12256) (Jens Melgaard)
  • d52328f Docs: fix no-sequences with examples (#12239) (Milos Djermanovic)
  • a41fdc0 Fix: Remove autofixer for no-unsafe-negation (#12157) (Milos Djermanovic)
  • e38f5fd Update: fix no-octal-escape false negatives after \0 (#12079) (Milos Djermanovic)
  • 9418fbe Sponsors: Sync README with website (ESLint Jenkins)
  • acc5ec5 Sponsors: Sync README with website (ESLint Jenkins)
  • 460c5ad Sponsors: Sync README with website (ESLint Jenkins)
  • 0313441 New: add rule default-param-last (fixes #11361) (#12188) (Chiawen Chen)
  • 7621f5d Update: add more specific linting messages to space-in-parens (#11121) (Che Fisher)
  • 21eb904 Fix: basePath of OverrideTester (fixes #12032) (#12205) (Toru Nagashima)
  • 86e5e65 Sponsors: Sync README with website (ESLint Jenkins)
  • 2b1a13f Fix: no-extra-boolean-cast reports wrong negation node (fixes #11324) (#12197) (Milos Djermanovic)
  • ba8c2aa Sponsors: Sync README with website (ESLint Jenkins)
  • a0a9746 Docs: Fix link in no-irregular-whitespace.md (#12196) (Timo Tijhof)
  • e10eeba Fix: quotes autofix produces syntax error with octal escape sequences (#12118) (Milos Djermanovic)
Commits

The new version differs by 32 commits.

  • 5f3024f 6.4.0
  • c847be2 Build: changelog update for 6.4.0
  • e915fff Docs: Improve examples and clarify default option (#12067)
  • 540296f Update: enforceForClassMembers option to accessor-pairs (fixes #12063) (#12192)
  • d3c2334 Update: flag nested block with declaration as error (#12193)
  • b2498d2 Update: Fix handling of property names in no-self-assign (#12105)
  • 1ee61b0 Update: enforceForClassMembers computed-property-spacing (fixes #12049) (#12214)
  • 520c922 Docs: Added naming convention details to plugin usage (#12202)
  • f826eab Fix: Allow line comment exception in object-curly-spacing (fixes #11902) (#12216)
  • db2a29b Update: indentation of comment followed by semicolon (fixes #12232) (#12243)
  • ae17d1c Fix: no-sequences is reporting incorrect locations (#12241)
  • 365331a Fix: object-shorthand providing invalid fixes for typescript (#12260)
  • 1c921c6 New: add no-import-assign (fixes #12237) (#12252)
  • 3be04fd New: Add prefer-regex-literals rule (fixes #12238) (#12254)
  • 37c0fde Update: Report global Atomics calls in no-obj-calls (fixes #12234) (#12258)

There are 32 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-react is breaking the build 🚨

The devDependency eslint-plugin-react was updated from 7.11.1 to 7.12.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v7.12.0

Added

Fixed

Changed

Commits

The new version differs by 127 commits.

  • a83d65c Update CHANGELOG and bump version
  • 0c6160e [Dev Deps] update coveralls, babel-eslint, typescript
  • cd6c8e6 [Deps] update resolve
  • d2b5b73 Merge pull request #1828 from alexzherdev/1721-no-typos-create-class
  • e747459 [Tests] remove node 5/7/9, add node 11
  • b33ae84 Merge pull request #1098 from arian/createElement-display-test
  • 84be80a Merge pull request #1824 from alexzherdev/1762-jsx-max-depth-false-positive
  • a442067 Merge pull request #2029 from sstern6/issue1422
  • 7d07c37 Merge pull request #2032 from alexzherdev/jsx-fragments-message
  • 8c6a8e2 Merge pull request #2089 from jomasti/feature/support-react-forwardref-memo
  • 14451d4 Merge pull request #2085 from himynameisdave/issues/2083
  • 8be52c7 📝 Addresses CR comments
  • f7e3121 Merge branch 'master' of https://github.com/yannickcr/eslint-plugin-react into issues/2083
  • 77e3fd0 Merge pull request #2090 from JBallin/no-method-set-state-docs-url
  • 7da9e0d Fix noMethodSetState docsUrl's

There are 127 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

First month as current with the ability to go back

Hi,

Thanks for the library, very appreciated and used in several of our apps in production 🤝

We have some issue right now, we need the calendar to display the current month when opened but with the ability to go back in time and select a previous date. We tried several things with minDate and startingMonth but it doesn't seem to work ...

Any idea?

Thanks again,

Théo

tries to require `react-native`, but there are several files providing this module

react-native:0.51.1
install react-native-calendario, then show this error, "tries to require react-native, but there are several files providing this module", I find that the in the file react-native-calendario/node_moudles/react-native/package.json ,this name 'react-native ' conflict with my project node_modules/react-native/package.json, is there the problem??

1.0.0 renders as undefined

1.0.0 renders as undefined, but 0.6.0 works. Due to this with 1.0.0 the app crashes with an error that the rendered is not an object nor a string, but undefined. I have the Calendar component inside a ScrollView container.

An in-range update of flow-copy-source is breaking the build 🚨

The devDependency flow-copy-source was updated from 2.0.4 to 2.0.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

flow-copy-source is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Property for past days

Hi,

I want to make past days (in reference to present day) not able to select and want to show the past days with different color so user can understand they are past days.

I could just supply:
minDate={this.state.presentdate}

but I want to show the user past days too.

Thanks!

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.