Socket
Socket
Sign inDemoInstall

angular-calendar

Package Overview
Dependencies
10
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
26Next

0.29.0

Diff

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)
mattlewis92
published 0.29.0-beta.12 •

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
mattlewis92
published 0.29.0-beta.11 •

mattlewis92
published 0.28.27 •

Changelog

Source

0.28.27 (2021-08-27)

Bug Fixes

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

Changelog

Source

0.28.26 (2021-06-20)

Bug Fixes

  • schematics: fix deprecation warning on install (cd47e98)
mattlewis92
published 0.28.25 •

Changelog

Source

0.28.25 (2021-06-20)

Bug Fixes

  • schematics: support newer versions of angular (0e70548), closes #1471
mattlewis92
published 0.29.0-beta.10 •

mattlewis92
published 0.28.24 •

Changelog

Source

0.28.24 (2021-05-03)

Bug Fixes

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

Changelog

Source

0.28.23 (2021-05-03)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc