Skip to content

Releases: nhn/tui.calendar

v0.6.4

02 Mar 03:48
Compare
Choose a tag to compare

Bug Fixes

  • b7e5037 Fix: Width error of month more layer (fix: #10)
  • 1f5b3bc Fix: resize the panel height error after dragging dvider (fix: #4)
  • c774325 Fix: eslint error for test source code (fix #13)
  • 0dc36f1 Fix: missing files(eslint error fixes)

v0.6.3

23 Feb 03:16
Compare
Choose a tag to compare

Features

  • ba3afe2 Feat: apply changing schedule visibility in weekly

Bug Fixes

  • dee71d9 Fix: update background color when dragging a schedule in monthly (fix: #3)
  • da0e0dd Fix: show a schedule visitility, typo

v0.6.2

20 Feb 05:59
Compare
Choose a tag to compare

Features

  • a490c79 Feat: Apply the allday template

v0.6.1

13 Feb 06:54
Compare
Choose a tag to compare

Enhancement

Documentation

  • b799eb3 Docs: apply documentation reviews
  • e1453ae Docs: change branch explaination

BREAKING CHANGES: v0.6.0

12 Feb 05:22
Compare
Choose a tag to compare
Pre-release

BREAKING CHANGES

  • feat: change the package name tui-full-calendar to tui-calendar

Names

  • tui.FullCalendar -> tui.Calendar
  • tui-full-calendar -> tui-calendar

Files

  • tui-full-calendar.js -> tui-calendar.js
  • tui-full-calendar.css -> tui-calendar.css

Features

  • feat: Add grid header/footer template(date, decorator, title, exceed schedules)
options.grid = {
  header: {
    height: 34
  },
  footer: {
    height: 10
  }
};

options.template = {
  monthGridHeader: function(model) {
    var date = new Date(model.date);
    var template = '<span class="tui-full-calendar-weekday-grid-date">' + date.getDate() + '</span>';
    var today = model.isToday ? 'TDY' : '';
    if (today) {
      template += '<span class="tui-full-calendar-weekday-grid-date-decorator">' + today + '</span>';
    }
    if (holidays[date.getDate()]) {
      template += '<span class="tui-full-calendar-weekday-grid-date-title">' + holidays[date.getDate()] + '</span>';
    }
    return template;
  },

  monthGridHeaderExceed:  function(hiddenSchedules) {
    return '<span class="calendar-more-schedules">+' + hiddenSchedules + '</span>';
  },

  monthGridFooter: function() {
    return '<div class="calendar-new-schedule-button">New Schedule</div>';
  },

  monthGridFooterExceed: function(hiddenSchedules) {
    return '<span class="calendar-footer-more-schedules">+ See ' + hiddenSchedules + ' more events</span>';
  },
};
  • feat: Add the monthly dayname template
options.template = {
  weekDayname: function(dayname) {
    return '<span class="calendar-week-dayname-name">' + dayname.dayName + '</span><br><span class="calendar-week-dayname-date">' + dayname.date + '</span>';
  }	             
}
  • feat: Add the weekly dayname template
options.template = {
  monthDayname: function(dayname) {
    return '<span class="calendar-week-dayname-name">' + dayname.label + '</span>';
  }	             
}
  • feat: change the holiday-sun color

fixes

chore: fix eslint errors