Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-calendar

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-calendar - npm Package Versions

1
26

0.28.4

Diff

Changelog

Source

0.28.4 (2020-03-01)

Bug Fixes

  • schematics: fix setting custom module to add the calendar imports to (24125e5)
  • schematics: use default project instead of first project if not set (ff477a5)
  • fix infinite load on universal with day and week view (266e159), closes #1177
mattlewis92
published 0.28.3 •

Changelog

Source

0.28.3 (2020-02-29)

Bug Fixes

mattlewis92
published 0.28.2 •

Changelog

Source

0.28.2 (2019-11-21)

Bug Fixes

mattlewis92
published 0.28.1 •

Changelog

Source

0.28.1 (2019-11-21)

Bug Fixes

  • schematics: use correct date adapter when using moment (2068e83), closes #1133
mattlewis92
published 0.28.0 •

Changelog

Source

0.28.0 (2019-11-14)

⚠ BREAKING CHANGES

  • date-fns v2 or higher is now required as a peer dependency

If implementing a custom adapter, the max function signature has changed to accept an array of dates, instead of an infinite argument list.

The date adapters no longer accept strings as input arguments.

  • week-view: If extending the root week view component to override the template you must make the following changes:

  • Wrap the time events with <div "class='cal-events-container'">

  • Change <div class="cal-time-label-column" *ngIf="view.hourColumns.length > 0"> to <div class="cal-time-label-column" *ngIf="view.hourColumns.length > 0 && daysInWeek !== 1">

  • Add [isTimeLabel]="daysInWeek === 1" to the bottom <mwl-calendar-week-view-hour-segment> elements

  • The trackBy function trackByDayOrWeekEvent was split into trackByWeekAllDayEvent and trackByWeekTimeEvent

  • week-view: if using a custom headerTemplate on the week view, then you must now add let-dragEnter="dragEnter" to the templates variables and (dragEnter)="dragEnter.emit({ date: day.date })" onto the mwlDroppable element.

  • the columnHeaderClicked output on the month view now exposes an object instead of just the ISO day number

Before:

columnHeaderClicked="columnHeaderClicked($event)"

After:

columnHeaderClicked="columnHeaderClicked($event.isoDayNumber)"
  • day-view: The day and week view have now merged. For most users this should be a seamless migration, however there are some edge cases that you may need to take account for:

Any custom styles you used for the day view will need to be adjusted. The cal-day-view-theme sass mixin is now gone as all the styles are shared between the week and day view.

The eventWidth option is removed, events now fill the available width.

If using [daysInWeek]="1" on the week view, the date and title formatters for the day view will be used instead.

The week view now has a border top applied to the top of the component container, rather than the top of the day headers container.

The getDayView and getDayViewHourGrid functions have been removed from the CalendarUtils service.

The following interfaces from calendar-utils were renamed: DayViewHourSegment -> WeekViewHourSegment, DayViewHour -> WeekViewHour, DayViewEvent -> WeekViewTimeEvent

The day view scheduler demo is now based off the week view instead, please check the updated demo code for how to migrate: https://mattlewis92.github.io/angular-calendar/#/day-view-scheduler

If using a custom template for the hourSegmentTemplate, you must pass let-isTimeLabel="isTimeLabel" as a local variable and then change <div class="cal-time"> to <div class="cal-time" *ngIf="isTimeLabel">

  • the dist files are no longer annotated for usage with closure compiler.

Bug Fixes

  • ensure compatibility with angular 9 and ivy (d4fdfb3), closes #1086
  • day-view: expand hour segments across the full calendar width (61aef47), closes #1083
  • week-view: prevent dropping external events on adjacent time slots (494adb5), closes #1062

Features

  • upgrade date-fns to v2 (d4d3873), closes #1064
  • add accessibility support (05c9a9a), closes #941
  • schematics: support ng add schematics (2dc2f47), closes #888
  • week-view: add current time marker (d3872b1), closes #1102
  • expose the click or keyboard event that triggers click handlers (d1a2b78), closes #962
  • day-view: merge the week and day view components (2e92b25), closes #889
  • day-view: expose allDayEventsLabelTemplate input (224848c)
mattlewis92
published 0.27.21 •

Changelog

Source

0.27.21 (2019-11-14)

  • add npm funding link
mattlewis92
published 0.28.0-rc.0 •

mattlewis92
published 0.28.0-beta.9 •

mattlewis92
published 0.28.0-beta.8 •

mattlewis92
published 0.27.20 •

Changelog

Source

0.27.20 (2019-10-19)

Bug Fixes

  • always use native click event rather than hammerjs's tap event (ca189c3), closes #1113
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc