Releases: nhn/tui.calendar
Releases · nhn/tui.calendar
v1.2.2
v1.2.1
Features
- 7ea6264 feat: Add a theme for time display text in weekly
Today time display text color can be 'past', 'future'.
'week.pastTime.color': '#555',
'week.pastTime.fontWeight': 'normal',
'week.futureTime.color': '#555',
'week.futureTime.fontWeight': 'normal',
Bug Fixes
- c3d9c9f *Fix: scrollToNow() error
v1.2.0
Features
- d5565ee Feat: Display primary and secondary timezone (close #86). Thanks to
- c5791a7 Feat: Add hourmarker to secondary timezone in weekly
var cal = new Calendar('#selector', {
timezones: [
{
timezoneOffset: 540,
tooltip: 'Seoul'
},
{
timezoneOffset: -420,
tooltip: 'Los Angeles'
}
]
});
- 298b17b Feat: Add an Option to disable "all day" view (close #93). Thanks to @alexandre-pereira.
The optionscheduleView
can beboolean
and['allday', 'time']
var cal = new Calendar('#selector', {
defaultView: 'day',
scheduleView: ['time']
});
- 821bb2c Feat: Add silent rendering option on
updateSchedule
,deleteSchedule
(close #102). Thanks to @alexandre-pereira.
// lazy rendering
schedules.forEach(schedule => {
cal.updateSchedule(schedule.id, schedule.calendarId, schedule, true);
});
cal.render();
- 23f1a47 Feat: Add new event
afterRenderSchedule
(close #109). Thanks to @lkmadushan.
// event handlers
cal.on({
'afterRenderSchedule': function(e) {
var schedule = e.schedule;
var element = cal.getElement(schedule.id, schedule.calendarId);
console.log('afterRenderSchedule', element);
}
});
Bug Fixes
- 1c9fc3e Fix: last daygrid vpanel must has showExpandableButton=false (close #85)
- 5ade39b Fix: Collision error in case of start and end are same
- 840cd66 Fix: popup detail template error
- 0c3b4bf Fix: wrong minified css file (close #96). Thanks to @amanvishnani .
- ba5e625 Fix: IE default popup error(Remove Array.find)
- c55a994 Fix: Default popup's arrow position error (close #74)
- 41b1f14 Fix: adjust z-index
- 45b099d Fix: adjust z-index in weekly
- c93ba2e Fix: Display timezone's today hourmarker error
Enhancement
Documentation
- 1825fc4 Doc: Update the information for a TypeScript and Angular wrapper. Thanks to @amanvishnani and @brnrds.
- d71ac3c Doc: update package dependencies
- 408c7f7 Doc: typo in copywriting (close #95). Thanks to @Robert-Fish.
- dc2fb9b Doc: Add theme config 'week.timegridLeftTimezoneLabel.height'
- d552bb3 Doc: link update in README.md
v1.1.0
Features
- cc0a9a6 Feat: Add default css(less configuration) (ref #76)
- dfd6dc0 Feat: Add default template of week day name (ref #76)
- 226fcb8 Feat: Add default month more button and dayname (ref #76)
- 1da32e1 Feat: Add default style and text of more layer (ref #76)
- b81048e Feat: Add default day grid left center style (ref #76)
- f388ecc Feat: Add default style to close button of more layer (ref #76)
- 0f4b35a Feat: Add default icons of more close button, collapse button (ref #76)
- 2fdd46f Feat: Add default text and style of milestone, task (ref #76)
- 77793f7 Feat: Add default month/week option (ref #76)
- d1ced63 Feat: Add schedule new properties(location, isPrivate, etc) (ref #76)
Bug Fixes
- 0bf2ecf Fix: not available demo code
Documentation
v1.0.2
v1.0.1
Bug Fixes
- f995271 Fix: resize all-day between prev and current month
- 082a8cf Fix: check not exist model after rerendered
- 41f8262 Fix: resize browser window, abut order of refresh and render
- d389ff5 Fix: script error by typo 'clickDayname' event
- 93f0fcf Fix: creation timeEnd + MIN30 on weekly view
- a08d0f1 Fix: collapse state is true after move day
- 08fb436 Fix: max expandable height 230 to 210
Chores
v1.0.0
Use TOAST UI to Make Your Web Delicious!
JavaScript UI library and free open source project constantly managed by NHN Entertainment.
tui-calendar
releases v1.0.0. There are many changes, enhancements, design, custom theme for v1.0.0.
We're pleasure that you use tui-calendar
and contribute for it always.
An example is here and API document is here.
Let's see release note below.
Features
- be14852 Feat: [BREAKING CHANGES] Revised APIs for v1.0.0 (close #35)
- 8971b62 Feat: schedule creation popup
- 237fe44 Feat: add an api openCreationPopup() (#67)
- fc2ec8a Feat: Add hideMoreView()
- 3677048 Feat: add detail popup (#68)
Supports custom theme
Example
cal.setTheme({
'month.dayname.height': '31px',
'month.dayname.borderTop': '1px solid #e5e5e5',
'month.dayname.borderBottom': '1px solid #e5e5e5',
});
The Dooray! theme is here
The full theme configuration is here
API migration guide to v1.0.0
Changes
toggleView()
tochangeView()
Calendar.options
property is no longer accessible. UsegetOptions()
,setOptions()
instead.Calendar.viewName
property is no longer accessible. UsegetViewName()
instead.Calendar. renderDate
property is no longer accessible. UsegetDate()
instead.Calendar. renderRange.start
,Calendar. renderRange.end
properties are no longer accessible. UsegetDateRangeStart()
,getDateRangeEnd()
instead.
Removed
Calendar.options.week.panelHeights
is not used.Calendar.options.week. alldayViewType
is not used.- The event
resizePanel
is not used. refresh()
is removed. Userender()
instead.
New
toggleSchedules()
toggles visibility of schedules by calendar id.hideMoreView()
hides monthly more-view manually.openCreationPopup()
shows creation schedule popup manually.setCalendars()
set calendar list.setTheme()
set custom theme.