diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aa608c78..631a02e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,221 @@ +# 1.0.0 (2023-04-05) + + +### Bug Fixes + +* `dayLayoutAlgorithm` prop with custom function ([#1562](https://github.com/additio/react-big-calendar/issues/1562)) ([3fb3c49](https://github.com/additio/react-big-calendar/commit/3fb3c49c05903e703e896f61ef1b9d1d18d7b2b2)) +* 1px misalignment ([#2367](https://github.com/additio/react-big-calendar/issues/2367)) ([7479b4d](https://github.com/additio/react-big-calendar/commit/7479b4d5955511ae1a42ed666d245bd411be7868)) +* a bug that the height of the column is broken when displayed in IE11 ([#1789](https://github.com/additio/react-big-calendar/issues/1789)) ([a0538ee](https://github.com/additio/react-big-calendar/commit/a0538eeba1cc2e405a46b6fc1369ecce93739919)) +* add new method to get correct time indicator top position | fixes [#1396](https://github.com/additio/react-big-calendar/issues/1396) ([#1447](https://github.com/additio/react-big-calendar/issues/1447)) ([1cf0205](https://github.com/additio/react-big-calendar/commit/1cf0205def00630e68157aff6cbdfb5f7a16589c)) +* add runtime to deps ([ade68bb](https://github.com/additio/react-big-calendar/commit/ade68bbd5b9e36c36ee68c6c65a435a480b9b7b6)) +* added fallback to getNow ([#1140](https://github.com/additio/react-big-calendar/issues/1140)) ([13459b0](https://github.com/additio/react-big-calendar/commit/13459b0d70ff1b6e27ed62ab8351bf00ef32aff7)) +* **addons:** do not cut end while dragging multiday event ([#1342](https://github.com/additio/react-big-calendar/issues/1342)) ([6fab261](https://github.com/additio/react-big-calendar/commit/6fab261114bcee166ac6fd7be2e6230c34d73d63)) +* adjust TimeGutter for DST ([#2205](https://github.com/additio/react-big-calendar/issues/2205)) ([4ba1255](https://github.com/additio/react-big-calendar/commit/4ba1255ac80239e3a35d8adb32cbaa3da526619f)) +* **Agenda:** consider start & end of day to filter events ([6c9c05b](https://github.com/additio/react-big-calendar/commit/6c9c05bf30edc52291ba286df8382ca42cf50039)) +* allow override onShowMore callback ([#1214](https://github.com/additio/react-big-calendar/issues/1214)) ([8fefeee](https://github.com/additio/react-big-calendar/commit/8fefeee393d7173a37734da7e34af5da64959214)), closes [/github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx#L280](https://github.com//github.com/intljusticemission/react-big-calendar/blob/f9a873368a78f5ced81b799c4dffe1095b3ab712/src/Calendar.jsx/issues/L280) [/github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js#L300-L307](https://github.com//github.com/intljusticemission/react-big-calendar/blob/1d62c432eaa183ed6b38f08cfcec5ee7edcbfe41/src/Month.js/issues/L300-L307) [#1147](https://github.com/additio/react-big-calendar/issues/1147) +* Allow resize to last visible slot ([f26c8a7](https://github.com/additio/react-big-calendar/commit/f26c8a75a5e7ad667eb6dbc4d392dac32e51dc10)), closes [#2147](https://github.com/additio/react-big-calendar/issues/2147) +* auto scroll on event selection ([#2235](https://github.com/additio/react-big-calendar/issues/2235)) ([6d87ebb](https://github.com/additio/react-big-calendar/commit/6d87ebbab146ba5a122180a376919bd6601f15c0)), closes [#2233](https://github.com/additio/react-big-calendar/issues/2233) +* bad propType. ([#1351](https://github.com/additio/react-big-calendar/issues/1351)) ([e704e17](https://github.com/additio/react-big-calendar/commit/e704e176ffba1c303c77c9e03bf8b814f83f1307)) +* bug where appointments can appear outside the calendar ([#1204](https://github.com/additio/react-big-calendar/issues/1204)) ([9689b7d](https://github.com/additio/react-big-calendar/commit/9689b7d112dd9dba4a5424808de08fdd5738db79)) +* bug with dayWrapper not applying ([#1196](https://github.com/additio/react-big-calendar/issues/1196)) ([f3ea6f8](https://github.com/additio/react-big-calendar/commit/f3ea6f838005626a5107a4d1d9fc6ac8a7fd78ba)) +* bug with resize segments not being removed ([#1800](https://github.com/additio/react-big-calendar/issues/1800)) ([34aec3a](https://github.com/additio/react-big-calendar/commit/34aec3a64d018ec0f9dce780a6d4eeb03692c9fd)) +* bump memoize-one and migrate new isEqual API ([#1583](https://github.com/additio/react-big-calendar/issues/1583)) ([4c904c2](https://github.com/additio/react-big-calendar/commit/4c904c2f06ad7fe6f6602d04cf14bcdaeab03ad2)) +* calculation of slots number for date when DST ends. ([#1046](https://github.com/additio/react-big-calendar/issues/1046)) ([2ca0226](https://github.com/additio/react-big-calendar/commit/2ca02266ef372f7ff4c48e85125bcc70114be3d0)) +* calendar auto scroll while dragging event at top/bottom edge ([#2230](https://github.com/additio/react-big-calendar/issues/2230)) ([d1c5085](https://github.com/additio/react-big-calendar/commit/d1c5085b004bb3c606a682b488a92585e50b12b4)), closes [#2231](https://github.com/additio/react-big-calendar/issues/2231) +* change toolbar API to match top level onViewChange prop name ([b0a6dd7](https://github.com/additio/react-big-calendar/commit/b0a6dd7088f22c29d3f763cfbea9f6dacbdb4ffe)) +* common.nest() discarding custom components ([#1114](https://github.com/additio/react-big-calendar/issues/1114)) ([5a432de](https://github.com/additio/react-big-calendar/commit/5a432deb70ea2bd089a0227ae33eb81f566153a7)) +* Correct display of beginning DST ([bd8e0e9](https://github.com/additio/react-big-calendar/commit/bd8e0e971a5c5e2590ca0016df4e186b326dec19)), closes [#1617](https://github.com/additio/react-big-calendar/issues/1617) +* Correct DragAndDrop event resizing in 'month' view ([e3d96e5](https://github.com/additio/react-big-calendar/commit/e3d96e5b5899e809092051e32274c8cfdd11d4e9)), closes [#2012](https://github.com/additio/react-big-calendar/issues/2012) +* Correct duration in DnD ([#2034](https://github.com/additio/react-big-calendar/issues/2034)) ([304f78b](https://github.com/additio/react-big-calendar/commit/304f78bdcfd044f0b69cc7d4ba2c0d68233c1254)), closes [#2033](https://github.com/additio/react-big-calendar/issues/2033) +* Correct issue with semantic-release and yarn-lock ([cc48854](https://github.com/additio/react-big-calendar/commit/cc48854c87b03ca23541484e30061576c2edfe98)), closes [#2096](https://github.com/additio/react-big-calendar/issues/2096) +* Correct listener teardown ([abd4594](https://github.com/additio/react-big-calendar/commit/abd4594b72069d945d4ea74dadd3f0f312c7188a)), closes [#2072](https://github.com/additio/react-big-calendar/issues/2072) +* correct luxon localizer formatting ([#2172](https://github.com/additio/react-big-calendar/issues/2172)) ([b130351](https://github.com/additio/react-big-calendar/commit/b130351966fa6a3870607bbb78394db11a10915b)) +* Correct no overlap algorithm stretch behavior ([#2120](https://github.com/additio/react-big-calendar/issues/2120)) ([c3f25eb](https://github.com/additio/react-big-calendar/commit/c3f25eb61545af36ada0c940f0f05b440250341f)) +* correct popupOffset ([#2218](https://github.com/additio/react-big-calendar/issues/2218)) ([6fdec30](https://github.com/additio/react-big-calendar/commit/6fdec3049660a97dcf42819b16bfc01aa5764267)) +* correct publishing ([#2350](https://github.com/additio/react-big-calendar/issues/2350)) ([ae15118](https://github.com/additio/react-big-calendar/commit/ae151187fdedccccfdbf84ce64d499d4b4e4b511)) +* Correct resize for multi-day event. ([#2138](https://github.com/additio/react-big-calendar/issues/2138)) ([3632345](https://github.com/additio/react-big-calendar/commit/363234520ad3289bf4b182d8fc2f02dba2460f56)) +* Correct resizing event bug in Week & Day ([#2143](https://github.com/additio/react-big-calendar/issues/2143)) ([afa8468](https://github.com/additio/react-big-calendar/commit/afa84683fc6d3cd637013f08eac6d7bc1314c254)) +* Correct scrollToTime functionailty ([#2055](https://github.com/additio/react-big-calendar/issues/2055)) ([76e6254](https://github.com/additio/react-big-calendar/commit/76e625494c3c9344c322604d1f4aaf17d3944dbd)), closes [#2028](https://github.com/additio/react-big-calendar/issues/2028) [#1717](https://github.com/additio/react-big-calendar/issues/1717) +* correct storybook deploy ([#2145](https://github.com/additio/react-big-calendar/issues/2145)) ([8c98fb2](https://github.com/additio/react-big-calendar/commit/8c98fb25bc063cbd88260fb4d2cf709c52912a67)) +* Correct the listeners reference ([a202d60](https://github.com/additio/react-big-calendar/commit/a202d60264b3a83a6a200dc6e3ee6ed86ec37462)), closes [#2072](https://github.com/additio/react-big-calendar/issues/2072) +* correct time-header-gutter ([#2219](https://github.com/additio/react-big-calendar/issues/2219)) ([160e251](https://github.com/additio/react-big-calendar/commit/160e251f288174a469932599251af06f179a47f9)) +* correct TimeGutter ref ([#2204](https://github.com/additio/react-big-calendar/issues/2204)) ([055cdd0](https://github.com/additio/react-big-calendar/commit/055cdd01c153752e90b889cfa37ad5734fe8217e)), closes [#2201](https://github.com/additio/react-big-calendar/issues/2201) +* correct TimeGutter ref use ([574dbf7](https://github.com/additio/react-big-calendar/commit/574dbf73d9c0acd10fb2fa25a128a8a3b9c05c16)), closes [#2200](https://github.com/additio/react-big-calendar/issues/2200) +* correct treatment of boolean view in 'views' ([#2368](https://github.com/additio/react-big-calendar/issues/2368)) ([0e6b771](https://github.com/additio/react-big-calendar/commit/0e6b7717985e626413347fcc196d38c0d071d759)) +* Correct typo in custom view example ([267629b](https://github.com/additio/react-big-calendar/commit/267629b5d253b5247b2cd2071764e6bb86c4d3a5)) +* Correct variable name that gets passed on to EventWrapper so dragndrop ha… ([#2121](https://github.com/additio/react-big-calendar/issues/2121)) ([19294de](https://github.com/additio/react-big-calendar/commit/19294de0de5c3aaf4280bfb9c28f37d88254d51d)) +* **date-fns localizer:** display dayFormat correctly ([#1633](https://github.com/additio/react-big-calendar/issues/1633)) ([dd1e1a4](https://github.com/additio/react-big-calendar/commit/dd1e1a4ec6c3183b2d69b58a59301133b2d81ca7)) +* **dayViewLayout:** container event check ([3c4934e](https://github.com/additio/react-big-calendar/commit/3c4934e2077065263e7f8e7e711c407f0d678581)) +* different time format for multi day events when using moment ([#919](https://github.com/additio/react-big-calendar/issues/919)) ([630b630](https://github.com/additio/react-big-calendar/commit/630b630165df11e3a586e1c19f3d00f1f3e97bd9)) +* disable `absoluteRuntime` in babel-preset-react-app ([#2155](https://github.com/additio/react-big-calendar/issues/2155)) ([b8fcb93](https://github.com/additio/react-big-calendar/commit/b8fcb9337bb5eb3e2c19f766d18cddba43ea1a06)) +* DnD corner cases in allDay move/resize ([5380fee](https://github.com/additio/react-big-calendar/commit/5380fee1e187207ff50c19ba95eaffed9675a25f)) +* dnd freezes an event intermittently ([#1631](https://github.com/additio/react-big-calendar/issues/1631)) ([e8609af](https://github.com/additio/react-big-calendar/commit/e8609af6a76cdc24387fbabb5a0e8c8f1700a617)) +* **DND:** Corrects issue of losing droppable event when releasing on non-event related containers ([#2199](https://github.com/additio/react-big-calendar/issues/2199)) ([508b668](https://github.com/additio/react-big-calendar/commit/508b668f4adb17635b47f435fdc3b676058a7405)), closes [#2198](https://github.com/additio/react-big-calendar/issues/2198) [#1902](https://github.com/additio/react-big-calendar/issues/1902) +* **dnd:** dont use classname ([#2232](https://github.com/additio/react-big-calendar/issues/2232)) ([2332f12](https://github.com/additio/react-big-calendar/commit/2332f121260bc772f4a709f6334bd9bb96c05e69)) +* **Dnd:** Offset is not needed ([#1892](https://github.com/additio/react-big-calendar/issues/1892)) ([caf820b](https://github.com/additio/react-big-calendar/commit/caf820b36ff9eb6b3ec7a0ea7f4c81a190a5eee8)) +* **DnD:** selection in WeekView ([2813631](https://github.com/additio/react-big-calendar/commit/281363149280278a81dd247aa8442342b22bef7b)) +* do not autoscroll on event selection ([#2234](https://github.com/additio/react-big-calendar/issues/2234)) ([b85b1ff](https://github.com/additio/react-big-calendar/commit/b85b1ff884862c8116e0e571e0715499f4e7d5f4)), closes [#2233](https://github.com/additio/react-big-calendar/issues/2233) +* do not handle move event after terminating ([#1104](https://github.com/additio/react-big-calendar/issues/1104)) ([bcc4d93](https://github.com/additio/react-big-calendar/commit/bcc4d932f43071ca3e6dea35b3a6068eaf2fc219)) +* do not send undefined/null gutterRef to getWidth ([#2300](https://github.com/additio/react-big-calendar/issues/2300)) ([7b5f5b8](https://github.com/additio/react-big-calendar/commit/7b5f5b8ef438ff469e7d098a6274118149883238)) +* do the math ourselves ([#2220](https://github.com/additio/react-big-calendar/issues/2220)) ([cace54e](https://github.com/additio/react-big-calendar/commit/cace54e8b4b0f6baef35f1dac11bcf8f541f5301)) +* drag cancelation for month view ([#1322](https://github.com/additio/react-big-calendar/issues/1322)) ([9c81e9e](https://github.com/additio/react-big-calendar/commit/9c81e9e8db76f011edc24baaddb2c93d9dde5619)) +* dragging is disabled if resizing is not allowed ([#1072](https://github.com/additio/react-big-calendar/issues/1072)) ([#1073](https://github.com/additio/react-big-calendar/issues/1073)) ([0d5ed30](https://github.com/additio/react-big-calendar/commit/0d5ed30cfb6a7e997750825068b454f81c15521c)) +* duplicate events ([#1159](https://github.com/additio/react-big-calendar/issues/1159)) ([b8e26b0](https://github.com/additio/react-big-calendar/commit/b8e26b02267b6d9f5deca44dd941ca2f3237230f)) +* elements position on TimeGrid if max prop is set ([#1057](https://github.com/additio/react-big-calendar/issues/1057)) ([f174a60](https://github.com/additio/react-big-calendar/commit/f174a6010625ae5563a3dc2f6760ba10d97d1559)) +* enforce `resizable` prop ([#1796](https://github.com/additio/react-big-calendar/issues/1796)) ([a18acc2](https://github.com/additio/react-big-calendar/commit/a18acc225bede4e15fde782c654c5212cef16215)) +* firefox event click bug ([#1262](https://github.com/additio/react-big-calendar/issues/1262)) ([b526416](https://github.com/additio/react-big-calendar/commit/b52641661e8811b5e27538f9945d264042fd6762)), closes [#1173](https://github.com/additio/react-big-calendar/issues/1173) +* Fix top part of 24hour event in week/day view ([#1732](https://github.com/additio/react-big-calendar/issues/1732)) ([e1e06b5](https://github.com/additio/react-big-calendar/commit/e1e06b54fcc71f35010448bfea858aa33b106eb1)) +* Fixed publish script (fix [#2330](https://github.com/additio/react-big-calendar/issues/2330)) ([#2358](https://github.com/additio/react-big-calendar/issues/2358)) ([a4e54be](https://github.com/additio/react-big-calendar/commit/a4e54bed8d534086af87bff8b48c7c9a47ac4141)) +* for TimeSlots ([#1462](https://github.com/additio/react-big-calendar/issues/1462)) ([c31639a](https://github.com/additio/react-big-calendar/commit/c31639ab46f097ffd1b483aaba87832d14c01d73)) +* handleNavigate for undefined date ([#889](https://github.com/additio/react-big-calendar/issues/889)) ([cc84f17](https://github.com/additio/react-big-calendar/commit/cc84f17bfd5782584126bb4634e2b020157c8589)) +* hide indicator when current time is not in the interval ([#1639](https://github.com/additio/react-big-calendar/issues/1639)) ([92974bf](https://github.com/additio/react-big-calendar/commit/92974bf00abe067db981c00c734cd4f756fad4c7)) +* ie fix for event bindings on unmounted components ([#1338](https://github.com/additio/react-big-calendar/issues/1338)) ([8ef00d6](https://github.com/additio/react-big-calendar/commit/8ef00d60ed82b2c1ea0d49417565d25f2982bad9)) +* incorrect babel imports in CJS/ESM builds ([#2157](https://github.com/additio/react-big-calendar/issues/2157)) ([687b121](https://github.com/additio/react-big-calendar/commit/687b1213d91ded826e92ab1ec39314676aa24bf5)) +* invalid prop-types. ([#1435](https://github.com/additio/react-big-calendar/issues/1435)) ([61e1a1e](https://github.com/additio/react-big-calendar/commit/61e1a1ea1a7c484fa007038ae3267d88c8dfe1e0)) +* issue with gutter width initialization ([#1181](https://github.com/additio/react-big-calendar/issues/1181)) ([69b28af](https://github.com/additio/react-big-calendar/commit/69b28af9b0c841649925d6358934552d8563c737)) +* item preview inside cell while dragging from outside not working… ([#1770](https://github.com/additio/react-big-calendar/issues/1770)) ([8fd6329](https://github.com/additio/react-big-calendar/commit/8fd63298322ba506823f3c44eadd8820c2bf684b)) +* make scrollToTime=00:00 working ([#1501](https://github.com/additio/react-big-calendar/issues/1501)) ([ee5a558](https://github.com/additio/react-big-calendar/commit/ee5a5586814bfc56c4963e21b0d48ac9a22718db)) +* make sure time indicator is updated after navigation ([#1082](https://github.com/additio/react-big-calendar/issues/1082)) ([07b2fa4](https://github.com/additio/react-big-calendar/commit/07b2fa4ef876ecca21d9ac9a92bab4e0eda3e42e)) +* Memory leak if Calendar is selectable [#1940](https://github.com/additio/react-big-calendar/issues/1940) ([#1941](https://github.com/additio/react-big-calendar/issues/1941)) ([a26e933](https://github.com/additio/react-big-calendar/commit/a26e933f041c5dfece17311920470910bd7a759c)) +* minimum start difference for same row computation ([#886](https://github.com/additio/react-big-calendar/issues/886)) ([#909](https://github.com/additio/react-big-calendar/issues/909)) ([#910](https://github.com/additio/react-big-calendar/issues/910)) ([a440b82](https://github.com/additio/react-big-calendar/commit/a440b8264af82c8b04c4265d285cd0ec6e200467)) +* misplacement of current time indicator ([#1239](https://github.com/additio/react-big-calendar/issues/1239)) ([2d6e99e](https://github.com/additio/react-big-calendar/commit/2d6e99e5d36864461dfc158c16270138984d380a)), closes [#1054](https://github.com/additio/react-big-calendar/issues/1054) +* moment format strings -> date-fns format strings ([#1568](https://github.com/additio/react-big-calendar/issues/1568)) ([1603902](https://github.com/additio/react-big-calendar/commit/16039022378c428bc4a04b9f0fc20aa7f9892896)) +* **moment:** wrong time on the day when DST changes ([#2374](https://github.com/additio/react-big-calendar/issues/2374)) ([b82ceb7](https://github.com/additio/react-big-calendar/commit/b82ceb7f4213e166c64ce643eef912b2ba4cd3a9)), closes [#2296](https://github.com/additio/react-big-calendar/issues/2296) +* mouse event propagation probs ([759a232](https://github.com/additio/react-big-calendar/commit/759a2324f6f83f7e745b74d2a020336469122287)) +* move @babel/cli to devDependencies ([#1062](https://github.com/additio/react-big-calendar/issues/1062)) ([4cfcb1f](https://github.com/additio/react-big-calendar/commit/4cfcb1f3d63e44bf22f9861ccc502dafe79dcc16)) +* move react, react-dom to devDependencies ([#2160](https://github.com/additio/react-big-calendar/issues/2160)) ([6917c15](https://github.com/additio/react-big-calendar/commit/6917c15f25bad5462392003dcae59ef7fe20f24d)) +* no-overlap layout algorithm ([#2239](https://github.com/additio/react-big-calendar/issues/2239)) ([f7bfd11](https://github.com/additio/react-big-calendar/commit/f7bfd11f6ce475dd4390e8ed0bf0efea0f1c0a69)), closes [#2240](https://github.com/additio/react-big-calendar/issues/2240) +* numGroups calculation ([#1963](https://github.com/additio/react-big-calendar/issues/1963)) ([319a81c](https://github.com/additio/react-big-calendar/commit/319a81c580d01621cd624c07fe76ea7f1b1c7c1d)) +* onRangeChange not passing localizer ([#1056](https://github.com/additio/react-big-calendar/issues/1056)) ([80855e8](https://github.com/additio/react-big-calendar/commit/80855e8f00c3458f8767faa3e4edcdf843e4ba33)) +* pass dates to slotGroupPropGetter ([#2066](https://github.com/additio/react-big-calendar/issues/2066)) ([943ae6e](https://github.com/additio/react-big-calendar/commit/943ae6edbadb48ca866c256bcbbac7059356fdee)) +* prefix React lifecycle methods with UNSAFE ([#1578](https://github.com/additio/react-big-calendar/issues/1578)) ([7b5a6a7](https://github.com/additio/react-big-calendar/commit/7b5a6a79c43591014fa7e009b8b3f00b4f74c7c9)) +* preserve time on horizontal resizing ([#1795](https://github.com/additio/react-big-calendar/issues/1795)) ([1b186da](https://github.com/additio/react-big-calendar/commit/1b186daa3c77f8716960104933514aff05b03f87)) +* prevent endless loop when adding event the DST begin day ([#1635](https://github.com/additio/react-big-calendar/issues/1635)) ([b9abf77](https://github.com/additio/react-big-calendar/commit/b9abf7714e54ef01a212366adffe09fec29039ba)) +* prevent un/mounting of date components ([#1276](https://github.com/additio/react-big-calendar/issues/1276)) ([3c25009](https://github.com/additio/react-big-calendar/commit/3c25009d31d9255688e96e55ecbada25bd057196)), closes [/github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js#L121](https://github.com//github.com/intljusticemission/react-big-calendar/blob/master/src/DateContentRow.js/issues/L121) +* proptype warnings ([#1084](https://github.com/additio/react-big-calendar/issues/1084)) ([08c2494](https://github.com/additio/react-big-calendar/commit/08c24942e5aa0a7414c987ba1bcf10559f30b98a)) +* reference to draggable/resizable Accessor ([#1070](https://github.com/additio/react-big-calendar/issues/1070)) ([1889a51](https://github.com/additio/react-big-calendar/commit/1889a51d4616194acd1bcade83f95c4c157180ee)) +* remove duplicate getter prop ([#1185](https://github.com/additio/react-big-calendar/issues/1185)) ([6b90182](https://github.com/additio/react-big-calendar/commit/6b901824e00649868149fbb968b981f899c2b9ff)) +* remove global window from Map() usage, update eslint rules for new es6 environment ([#1195](https://github.com/additio/react-big-calendar/issues/1195)) ([4768188](https://github.com/additio/react-big-calendar/commit/4768188e7fbffd0ee9cdc6ff48c5f33259b52cca)) +* Replace deprecated dependency ([a88da3f](https://github.com/additio/react-big-calendar/commit/a88da3f5a803ca08b3fd4d2f2c974f6a9c6bd201)) +* replace findDOMNode with refs ([a902d20](https://github.com/additio/react-big-calendar/commit/a902d20a7413016a662e1f7b3f7a5241213ce354)), closes [#2193](https://github.com/additio/react-big-calendar/issues/2193) +* replace findDOMNode with refs (react 17) ([24f92fb](https://github.com/additio/react-big-calendar/commit/24f92fb12f7d488c65c54ca3f9f9bd14b09fc96a)) +* resolve resizing events in Month view ([c7b105f](https://github.com/additio/react-big-calendar/commit/c7b105f8d59b460b8ed2e45fa90653296651b52c)), closes [#2207](https://github.com/additio/react-big-calendar/issues/2207) +* revert ([#2227](https://github.com/additio/react-big-calendar/issues/2227)) ([b81fa14](https://github.com/additio/react-big-calendar/commit/b81fa146a97b83cd0bff063eb5004f1583eb365c)) +* revert a bug that the height of the column is broken when displayed in IE11 ([#1789](https://github.com/additio/react-big-calendar/issues/1789))" ([#1805](https://github.com/additio/react-big-calendar/issues/1805)) ([41104fa](https://github.com/additio/react-big-calendar/commit/41104fad0281721ccc9885280b4ee085f64d17f5)) +* revert change ([#2223](https://github.com/additio/react-big-calendar/issues/2223)) ([bdb0595](https://github.com/additio/react-big-calendar/commit/bdb0595400eaf0a612af3bb39d27f3c0c0fc5867)) +* rounding behavior in Luxon localizer ([#2362](https://github.com/additio/react-big-calendar/issues/2362)) ([409cff1](https://github.com/additio/react-big-calendar/commit/409cff1d74a3130f89dca71f19e6832dd7c6e98c)), closes [#2361](https://github.com/additio/react-big-calendar/issues/2361) +* rtl incorrectly named or not propagated ([#1353](https://github.com/additio/react-big-calendar/issues/1353)) ([caa863f](https://github.com/additio/react-big-calendar/commit/caa863fb78b9ddc9cfb6c06a5d6c27601f300ac9)) +* rtl prop has to be passed to the DateContentRow ([#915](https://github.com/additio/react-big-calendar/issues/915)) ([e0ae4f1](https://github.com/additio/react-big-calendar/commit/e0ae4f1723b8e5c768800f12a3e9257e83927596)) +* **sass:** Reference distributed folder in SASS compile ([#2091](https://github.com/additio/react-big-calendar/issues/2091)) ([20502f3](https://github.com/additio/react-big-calendar/commit/20502f334a3c9ce62a1322a88d897b9afa66ee23)), closes [#2086](https://github.com/additio/react-big-calendar/issues/2086) +* selecting events in chrome ([#884](https://github.com/additio/react-big-calendar/issues/884)) ([558ee2d](https://github.com/additio/react-big-calendar/commit/558ee2d86bd06c4d84a13b1f7976825c2002d444)) +* selecting events in mobile browsers ([#1233](https://github.com/additio/react-big-calendar/issues/1233)) ([2bc9fee](https://github.com/additio/react-big-calendar/commit/2bc9fee6b413e061333aa6c352bf9e8e7e12b71e)) +* set width ([#2332](https://github.com/additio/react-big-calendar/issues/2332)) ([86b26cd](https://github.com/additio/react-big-calendar/commit/86b26cd8a20ec11e953999650c10d59f4170f1ce)) +* short-circuit handleInteractionEnd when no action is in progress ([#1118](https://github.com/additio/react-big-calendar/issues/1118)) ([7a48b6a](https://github.com/additio/react-big-calendar/commit/7a48b6a0186ad4197fd406d251316fea210122d2)) +* single/Double clicks on an event work again ([#952](https://github.com/additio/react-big-calendar/issues/952)) ([ee8cdbe](https://github.com/additio/react-big-calendar/commit/ee8cdbef4263a4b18059487b94bf7a1e4fd61f3d)) +* support point-in-time events in the Agenda view ([#1246](https://github.com/additio/react-big-calendar/issues/1246)) ([58c39c3](https://github.com/additio/react-big-calendar/commit/58c39c383ff1f25595605e7484fbdd6017b8f42f)) +* switch DnD to modern context API (was legacy) ([6def209](https://github.com/additio/react-big-calendar/commit/6def209913b6c7191442ec7aaeff31a1651afc4e)), closes [#1795](https://github.com/additio/react-big-calendar/issues/1795) [#1776](https://github.com/additio/react-big-calendar/issues/1776) +* temp fix for DayColumn render ([#2224](https://github.com/additio/react-big-calendar/issues/2224)) ([48b23a2](https://github.com/additio/react-big-calendar/commit/48b23a26edb2383abee9978a2b99eb4520a97f12)), closes [#2222](https://github.com/additio/react-big-calendar/issues/2222) +* time indicator placement ([071fa88](https://github.com/additio/react-big-calendar/commit/071fa888b023e9d7fdcc1d2be1467ee23f518917)) +* TimeGrid display on DST change days when min is after the transition ([#1303](https://github.com/additio/react-big-calendar/issues/1303)) ([b436017](https://github.com/additio/react-big-calendar/commit/b43601764c55d705690233eab95f8c01526639ce)), closes [#1098](https://github.com/additio/react-big-calendar/issues/1098) [#1273](https://github.com/additio/react-big-calendar/issues/1273) +* totalMin calculation in TimeSlots. ([#965](https://github.com/additio/react-big-calendar/issues/965)) ([b761e86](https://github.com/additio/react-big-calendar/commit/b761e8666c7fc95c5c2bf9b0a501a80d342de388)) +* Trade href="#" anchors for stylized buttons ([#2074](https://github.com/additio/react-big-calendar/issues/2074)) ([cd385f5](https://github.com/additio/react-big-calendar/commit/cd385f5f9fc9f998d944e9a3db643e6152fbb5d1)) +* typo for prop titles ([#2298](https://github.com/additio/react-big-calendar/issues/2298)) ([11fd6c8](https://github.com/additio/react-big-calendar/commit/11fd6c83685bf6c0345623366247bcb294e6325c)) +* update react & react-dom peer-dep range to support 17.x ([#1880](https://github.com/additio/react-big-calendar/issues/1880)) ([dbcc578](https://github.com/additio/react-big-calendar/commit/dbcc5785a0d2edd2c710706538389344dba737a8)) +* update time indicator position if max prop changes ([#1379](https://github.com/additio/react-big-calendar/issues/1379)) ([ac945b7](https://github.com/additio/react-big-calendar/commit/ac945b70349a841b55b3413a9f101e20a062891b)) +* update time indicator position if min prop changes ([#1311](https://github.com/additio/react-big-calendar/issues/1311)) ([97ea841](https://github.com/additio/react-big-calendar/commit/97ea841d52a2d0126bb90c09f421355fe63e57c7)) +* update TimeGrid on resources list change ([#1135](https://github.com/additio/react-big-calendar/issues/1135)) ([91c6ec0](https://github.com/additio/react-big-calendar/commit/91c6ec0adb7f2840e9439de1cf4690ef832f078e)) +* update to current react-overlays ([#2217](https://github.com/additio/react-big-calendar/issues/2217)) ([27ebe46](https://github.com/additio/react-big-calendar/commit/27ebe46f6d4900d1bac5986f57770c93f2ab1287)), closes [#2186](https://github.com/additio/react-big-calendar/issues/2186) +* use accessors when determining dnd height. ([#954](https://github.com/additio/react-big-calendar/issues/954)) ([be81065](https://github.com/additio/react-big-calendar/commit/be81065393655ea76c6bb6ea5ccc66e66c058f4b)) +* use fixed date arithmetic lib and move bt-sass to devdepen… ([#1374](https://github.com/additio/react-big-calendar/issues/1374)) ([b223a61](https://github.com/additio/react-big-calendar/commit/b223a61e4bb78f139373eb208e6225eea4b6a855)) +* use React.createRef instead of string refs ([#1282](https://github.com/additio/react-big-calendar/issues/1282)) ([239f0a3](https://github.com/additio/react-big-calendar/commit/239f0a30af80aee4a1d7caf7d46ab743822e2f8a)) +* using wrong bounding box for hit testing ([f670719](https://github.com/additio/react-big-calendar/commit/f670719641423e0c5b1b8026bacc56fa0c9ff222)) +* zero duration no-overlap events ([#2213](https://github.com/additio/react-big-calendar/issues/2213)) ([bbe1109](https://github.com/additio/react-big-calendar/commit/bbe11094c0bfcfc162022711f848905e57479152)) + + +### Features + +* [#1390](https://github.com/additio/react-big-calendar/issues/1390) use en dashes in ranges ([#1391](https://github.com/additio/react-big-calendar/issues/1391)) ([7619e59](https://github.com/additio/react-big-calendar/commit/7619e592a6e880860c7fc2e9cbc6473ede386955)) +* Add `onSelectEvent` & `onDoubleClickEvent` support to Agenda ([c14f427](https://github.com/additio/react-big-calendar/commit/c14f427195115f4d994795722c709bdc2ac44288)) +* add `showAllEvents` Calendar Prop ([#1808](https://github.com/additio/react-big-calendar/issues/1808)) ([8ffe39d](https://github.com/additio/react-big-calendar/commit/8ffe39dccce5ec7bcac618f9494c21ae557b3537)) +* add ability to set custom resource headers ([#1187](https://github.com/additio/react-big-calendar/issues/1187)) ([6708a45](https://github.com/additio/react-big-calendar/commit/6708a4583a2179112dbc9c999a68161bb46de186)), closes [#1174](https://github.com/additio/react-big-calendar/issues/1174) +* add agenda no events msg ([#923](https://github.com/additio/react-big-calendar/issues/923)) ([51304f5](https://github.com/additio/react-big-calendar/commit/51304f52cc51430149ff396c7ba74bc9a8398ee8)) +* add ARIA roles to month view ([#1863](https://github.com/additio/react-big-calendar/issues/1863)) ([02bbeb1](https://github.com/additio/react-big-calendar/commit/02bbeb1bc2bd91343fc30b9fea3098d962338b55)) +* add background events feature ([#1851](https://github.com/additio/react-big-calendar/issues/1851)) ([e797ab3](https://github.com/additio/react-big-calendar/commit/e797ab3a6507bd0a9bb98971f693cc86e42cdc3a)), closes [#1727](https://github.com/additio/react-big-calendar/issues/1727) +* add commitlint ([b35e156](https://github.com/additio/react-big-calendar/commit/b35e156cb660cfaf6571add66eb4c7db9f26c095)) +* add custom timeSlotWrapper support ([#930](https://github.com/additio/react-big-calendar/issues/930)) ([172c316](https://github.com/additio/react-big-calendar/commit/172c316b0ecba59d6ef9f10649be62a34ffed22a)) +* add Date-fns localizer ([#1542](https://github.com/additio/react-big-calendar/issues/1542)) ([749c91c](https://github.com/additio/react-big-calendar/commit/749c91cc030bb45132da1870176d99156d6b784e)) +* add dragging ability from the monthly Popup component ([#1554](https://github.com/additio/react-big-calendar/issues/1554)) ([12233ef](https://github.com/additio/react-big-calendar/commit/12233efc7efdcb222954e9c6b2692e01a8101c42)) +* add horizontal scrolling for wide resource calendars ([#921](https://github.com/additio/react-big-calendar/issues/921)) ([d1e90b1](https://github.com/additio/react-big-calendar/commit/d1e90b148a0be2b71f2c1887b196cf5df088535c)) +* add onKeyPressEvent ([#1754](https://github.com/additio/react-big-calendar/issues/1754)) ([ca8d77b](https://github.com/additio/react-big-calendar/commit/ca8d77b89403217047a801711d90cf3f8e8339d5)) +* add Rearrangement Algorithm Implementation ([#1473](https://github.com/additio/react-big-calendar/issues/1473)) ([e622651](https://github.com/additio/react-big-calendar/commit/e622651aac059ff6040a263e0d73521cd75bb42d)) +* add resource to handleDropFromOutside ([#1319](https://github.com/additio/react-big-calendar/issues/1319)) ([2b7ad2a](https://github.com/additio/react-big-calendar/commit/2b7ad2a78c897f3860ee7ce26f3f85858ae9620e)) +* add resourceId to handleSelectAllDaySlot fns slotInfo ([#1735](https://github.com/additio/react-big-calendar/issues/1735)) ([f00a516](https://github.com/additio/react-big-calendar/commit/f00a516cdd7b1876d654bf863979b4f391bdb0bc)) +* add resourceId to onSelecting callback ([#1416](https://github.com/additio/react-big-calendar/issues/1416)) ([0c9b1f2](https://github.com/additio/react-big-calendar/commit/0c9b1f2d3a6bc742b3b0b84c4bb4aee8cb5abc63)) +* add selecting and drag cancelation ([#1119](https://github.com/additio/react-big-calendar/issues/1119)) ([aa8f08b](https://github.com/additio/react-big-calendar/commit/aa8f08b35b94fec631b9cbe5555c28e3cce0563e)) +* add Time Zone support using localizer date math ([#2023](https://github.com/additio/react-big-calendar/issues/2023)) ([ad8defa](https://github.com/additio/react-big-calendar/commit/ad8defa643692911fd0b00c71b70de94715140a9)) +* add timeGutterHeaderComponent ([#874](https://github.com/additio/react-big-calendar/issues/874)) ([adc2078](https://github.com/additio/react-big-calendar/commit/adc20783d114d61eb562e2cc2badaf179a6d2226)), closes [intljusticemission/react-big-calendar#853](https://github.com/intljusticemission/react-big-calendar/issues/853) +* added continuesPrior and continuesAfter props to Event component ([#1201](https://github.com/additio/react-big-calendar/issues/1201)) ([74a2233](https://github.com/additio/react-big-calendar/commit/74a22335995d7983af62262624a16d35941f6bfe)) +* adding bounds and box on slot select in Month view ([#1241](https://github.com/additio/react-big-calendar/issues/1241)) ([2a870b0](https://github.com/additio/react-big-calendar/commit/2a870b0f795d7493db74124b8d4056aeada461d7)) +* adding tabbable events ([#987](https://github.com/additio/react-big-calendar/issues/987)) ([6a94e72](https://github.com/additio/react-big-calendar/commit/6a94e72ad27affc0d00bd298659bfa987ce33b0e)) +* Adding TS, hooks, and Vite ([1559333](https://github.com/additio/react-big-calendar/commit/15593336c5a38839894422df3b260557c2117461)) +* allow using custom event wrapper component while dragging ([#2228](https://github.com/additio/react-big-calendar/issues/2228)) ([afa8824](https://github.com/additio/react-big-calendar/commit/afa882426b893e300da25202b5c56b23d591e9f1)), closes [#1864](https://github.com/additio/react-big-calendar/issues/1864) +* Dayjs localizer ([#2264](https://github.com/additio/react-big-calendar/issues/2264)) ([537c6f3](https://github.com/additio/react-big-calendar/commit/537c6f3f08344191588f2ab3ad52667de7ee261f)) +* Disable autoscroll functionality, Add a functionality to disable auto-scroll on calendar render. ([aa8f374](https://github.com/additio/react-big-calendar/commit/aa8f374bed642703639db8f659f2771bfae346e7)) +* DnD support for custom DropWrapper components (dayWrapper and dateCellWrapper) ([#843](https://github.com/additio/react-big-calendar/issues/843)) ([d372f0d](https://github.com/additio/react-big-calendar/commit/d372f0de1647195c701282727245a36f5864dc83)) +* **dnd:** add onDropFromOutside prop for Dnd Cal ([#1290](https://github.com/additio/react-big-calendar/issues/1290)) ([b9fdce4](https://github.com/additio/react-big-calendar/commit/b9fdce46ff5d49712090bae8426c400624f10fe4)), closes [#1090](https://github.com/additio/react-big-calendar/issues/1090) +* **dnd:** add preview of an item inside cell while dragging ([#1369](https://github.com/additio/react-big-calendar/issues/1369)) ([ac715f8](https://github.com/additio/react-big-calendar/commit/ac715f8fac0b2aa338b3062d78b344aea2619211)) +* **dnd:** implement callback on initializing drag or resize action ([#1206](https://github.com/additio/react-big-calendar/issues/1206)) ([0fa2c30](https://github.com/additio/react-big-calendar/commit/0fa2c307c4de345c5987111dd34096242e5b51fa)), closes [#1205](https://github.com/additio/react-big-calendar/issues/1205) +* **DnD:** support to/from allDay events in demos ([b067ad0](https://github.com/additio/react-big-calendar/commit/b067ad0541d4ea4b93c7fc4a6da61cc93d7ba2d9)) +* drop warning ([#1455](https://github.com/additio/react-big-calendar/issues/1455)) ([77004e2](https://github.com/additio/react-big-calendar/commit/77004e2a51dfa466341e14d2dab35466822d0efb)) +* **events:** default events prop to an empty array ([#2161](https://github.com/additio/react-big-calendar/issues/2161)) ([efac0b2](https://github.com/additio/react-big-calendar/commit/efac0b26b365bbddb803ad256e22a5844cf36052)), closes [#1708](https://github.com/additio/react-big-calendar/issues/1708) +* handleRangeChange, handleViewChange refactored to pass fresh `view` to onRangeChange when view changed; ([#1100](https://github.com/additio/react-big-calendar/issues/1100)) ([befac9f](https://github.com/additio/react-big-calendar/commit/befac9fb0e72fcfd7107cb2ee2770120eb312e04)) +* hide single day header with css ([#1019](https://github.com/additio/react-big-calendar/issues/1019)) ([5857d8f](https://github.com/additio/react-big-calendar/commit/5857d8fb44d614047d43838be8c52bbbe2dbff55)) +* improve toolbar responsiveness for mobile devices ([#900](https://github.com/additio/react-big-calendar/issues/900)) ([cd10e6f](https://github.com/additio/react-big-calendar/commit/cd10e6ffa800d17c36198a7b7941c9cadef2ce4e)) +* **localizers:** move localizer dependencies ([e4a3235](https://github.com/additio/react-big-calendar/commit/e4a323538c2d2c3cd6c56300ef560ac5f18519c4)) +* pass resourceId to slotPropGetter ([#1101](https://github.com/additio/react-big-calendar/issues/1101)) ([0e1e1a0](https://github.com/additio/react-big-calendar/commit/0e1e1a084af984106e8b01fe51628ff1572df948)) +* provide named exports api ([#1348](https://github.com/additio/react-big-calendar/issues/1348)) ([4e09704](https://github.com/additio/react-big-calendar/commit/4e09704eb7228bd14462ad85306d6db9639b0275)) +* redeclared all sass variables as !default ([#1321](https://github.com/additio/react-big-calendar/issues/1321)) ([c4f09cd](https://github.com/additio/react-big-calendar/commit/c4f09cdc1cbbe67552a92a194d2077a935e34605)) +* remove propTypes in production ([#1180](https://github.com/additio/react-big-calendar/issues/1180)) ([ce0d56b](https://github.com/additio/react-big-calendar/commit/ce0d56bcec61dfb604eb2edc99726a813687ad1d)) +* remove unneeded dependencies ([#2215](https://github.com/additio/react-big-calendar/issues/2215)) ([fb05151](https://github.com/additio/react-big-calendar/commit/fb05151252ad02610c7fafa7fbe13dd00b5d40af)) +* replace unsafe deprecated methods ([#2216](https://github.com/additio/react-big-calendar/issues/2216)) ([c5c6a8b](https://github.com/additio/react-big-calendar/commit/c5c6a8bf8f710402dc69bf1322d76b83c19824c4)), closes [#1200](https://github.com/additio/react-big-calendar/issues/1200) [#1777](https://github.com/additio/react-big-calendar/issues/1777) [#1481](https://github.com/additio/react-big-calendar/issues/1481) [#2126](https://github.com/additio/react-big-calendar/issues/2126) [#2104](https://github.com/additio/react-big-calendar/issues/2104) [#2105](https://github.com/additio/react-big-calendar/issues/2105) [#1526](https://github.com/additio/react-big-calendar/issues/1526) +* revamp Drag and drop ([d2e02c4](https://github.com/additio/react-big-calendar/commit/d2e02c4bfde41b39ea22db344cbd8b948b17fc8b)) +* Slot group prop getter ([#1471](https://github.com/additio/react-big-calendar/issues/1471)) ([#1510](https://github.com/additio/react-big-calendar/issues/1510)) ([fcb9b9a](https://github.com/additio/react-big-calendar/commit/fcb9b9ac4752bf9a68498672b2f4178dbc5770e5)) +* sort by event end date if start dates are equal ([dddf4e1](https://github.com/additio/react-big-calendar/commit/dddf4e189ad3c1900ab30097357464c699a60021)) +* starting to hooks to avoid deprecation warnings ([#1687](https://github.com/additio/react-big-calendar/issues/1687)) ([b8368f9](https://github.com/additio/react-big-calendar/commit/b8368f982d2463031a22979796ecd099bb1d7ee6)) +* switch to Sass for styles ([884bece](https://github.com/additio/react-big-calendar/commit/884bece979e5c02603f0905ad25da07a9e7f48c7)) +* **time-gutter-wrapper:** expose time gutter wrapper component ([#2236](https://github.com/additio/react-big-calendar/issues/2236)) ([39ff8a1](https://github.com/additio/react-big-calendar/commit/39ff8a10ee4901b950780c0fc4a697f53a0d9d2b)) +* update react-overlays dependency ([#1816](https://github.com/additio/react-big-calendar/issues/1816)) ([5490207](https://github.com/additio/react-big-calendar/commit/5490207feaa0e488180344a4891aa68c877c487c)), closes [#1813](https://github.com/additio/react-big-calendar/issues/1813) +* upgrade react-overlays ([#1421](https://github.com/additio/react-big-calendar/issues/1421)) ([9117549](https://github.com/additio/react-big-calendar/commit/9117549ad820c56f1b00943eb694be7fe99c7a40)) +* use custom event wrapper when dragging ([#2221](https://github.com/additio/react-big-calendar/issues/2221)) ([73ed69a](https://github.com/additio/react-big-calendar/commit/73ed69ad39383a5a19f90150a373e9f0038c2dee)), closes [#1864](https://github.com/additio/react-big-calendar/issues/1864) +* use lodash-es for esm bundle ([#1350](https://github.com/additio/react-big-calendar/issues/1350)) ([fb0fe5e](https://github.com/additio/react-big-calendar/commit/fb0fe5eef16381e917c64040dcaf6462d3bc6a17)) + + +### Performance Improvements + +* increase startup time of event dragging ([#1020](https://github.com/additio/react-big-calendar/issues/1020)) ([167b69f](https://github.com/additio/react-big-calendar/commit/167b69f05fadcc2526ac55053f78c767373b83b0)) + + +### BREAKING CHANGES + +* **localizers:** moment, luxon and globalize are no longer bundled +* must use named exports for additional RBC imports + +```js +import { + Calendar, + DateLocalizer, + momentLocalizer, + globalizeLocalizer, + move, + Views, + Navigate, + components +} from 'react-big-calendar'; +``` +* Less files have been replaced with Sass versions +* Calendar wrapper components props have changed +* react-dnd is no longer used internally with no external API + ## [1.6.9](https://github.com/jquense/react-big-calendar/compare/v1.6.8...v1.6.9) (2023-03-24) diff --git a/package.json b/package.json index 16e7e7c3f..b36a4bfcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@additio/react-big-calendar", - "version": "0.0.0-development", + "version": "1.0.0", "description": "Calendar! with events", "author": { "name": "Jason Quense",