Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

angular-calendar

Package Overview
Dependencies
6
Maintainers
1
Versions
249
Issues
File Explorer

Advanced tools

2345
25Next

0.29.0


Changelog

Source

0.29.0 (2021-12-11)

⚠ BREAKING CHANGES

  • angular 12 or higher is now required to use this package
  • if you are implementing your own date adapter you will now need to implement the getTimezoneOffset method
  • week-view: Previously when resizing events the minimum event height would be calculated based on hourSegments, hourSegmentHeight and hourDuration. It now respects the minimumEventHeight input instead.

To restore the old behaviour you will need to set minimumEventHeight appropriately (by default it's 30 so should continue to work as expected for most users)

  • when using the moment date formatter, the day view title format has changed to be locale aware. If you prefer the old behaviour you can restore it by overriding the dayViewTitle method in the moment date formatter like so:
class CustomMomentDateFormatter extends CalendarMomentDateFormatter { public dayViewTitle({ date, locale }: DateFormatterParams): string { return this.moment(date).locale(locale).format('dddd, D MMMM, YYYY'); } }
  • week-view: the drag behaviour now mimicks the resize behaviour where you can drag an event down to move it into the next day. To restore the old behaviour you can use the new validateEventTimesChanged input to control where an event can be dragged.
  • week-view: events on the week and day view will now always be at least 30 pixels high by default. To restore the old behaviour you can set [minimumEventHeight]="1".

Features

  • add support for rtl (caaf96c), closes #1203
  • allow timezone offset to be overridden in the date adapter (96726e1)
  • publish package in ivy partial compilation mode (29eb8c9), closes #1536
  • week-view: add hourDuration option (6a72448), closes #1080
  • week-view: add minimumEventHeight option (7789fda), closes #1192
  • week-view: allow customising where events can be dragged (cd12d3c), closes #1183
  • week-view: allow customising where events can be resized (ba45051), closes #1183

Bug Fixes

  • use locale aware day view title for moment date formatter (acf93a3), closes #1396
  • week-view: allow dragging events to span multiple days (ef5749c), closes #1234
  • week-view: respect minimumEventHeight input when resizing (5f0f6be)

0.29.0-beta.12

mattlewis92
published 0.29.0-beta.12 •

0.28.28

mattlewis92
published 0.28.28 •

Changelog

Source

0.28.28 (2021-09-01)

  • no functional changes, just needed to publish a readme update to npm

0.29.0-beta.11

mattlewis92
published 0.29.0-beta.11 •

0.28.27

mattlewis92
published 0.28.27 •

Changelog

Source

0.28.27 (2021-08-27)

Bug Fixes

  • month-view: add missing a11y attributes (959029e)

0.28.26

mattlewis92
published 0.28.26 •

Changelog

Source

0.28.26 (2021-06-20)

Bug Fixes

  • schematics: fix deprecation warning on install (cd47e98)

0.28.25

mattlewis92
published 0.28.25 •

Changelog

Source

0.28.25 (2021-06-20)

Bug Fixes

  • schematics: support newer versions of angular (0e70548), closes #1471

0.29.0-beta.10

mattlewis92
published 0.29.0-beta.10 •

0.28.24

mattlewis92
published 0.28.24 •

Changelog

Source

0.28.24 (2021-05-03)

Bug Fixes

  • restore compatibility with angular 6 and 7 (79c2509)

0.28.23

mattlewis92
published 0.28.23 •

Changelog

Source

0.28.23 (2021-05-03)

2345
25Next
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc