Releases: quasarframework/quasar-ui-qcalendar
v4.0.0-beta.13
QCalendar v4.0.0-beta.13
Features
- none
Fixes
- fix(build): "common" files are now "cjs"
- fix(build): generate missing QCalendar packages
Installing
Use the next tag whenever you'd install it normally.
$ yarn add @quasar/quasar-ui-qcalendar@next
# or
$ quasar ext add @quasar/qcalendar@next
Documentation
QCalendar v4 documentation is now hosted by Netlify. Visit the documentation to get more information and a Migration Guide (in the Help section). The documentation is incomplete and is currently being updated. You can help out by PR-ing deficiencies.
Donations
QCalendar is an open-source MIT licensed project that has been made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:
v4.0.0-beta.10
QCalendar v4.0.0-beta.10
What's Changed
Features:
- feat(ui): two new Timestamp functions: maxTimestamp and minTimestamp
- Given an array of Timestamps, will return the highest or lowest, respectively
Fixes:
- fix(ui): agenda, day, resource and scheduler improvement updates
Installing
Use the next tag whenever you'd install it normally.
$ yarn add @quasar/quasar-ui-qcalendar@next
# or
$ quasar ext add @quasar/qcalendar@next
Documentation
QCalendar v4 documentation is now hosted by Netlify. Visit the documentation to get more information and a Migration Guide (in the Help section). The documentation is incomplete and is currently being updated. You can help out by PR-ing deficiencies.
Donations
QCalendar is an open-source MIT licensed project that has been made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:
v4.0.0-beta.9
QCalendar v4.0.0 Beta 9
New Features:
- feat(ui): make Timestamp exports available from each calendar
- All calendar types use the Timestamp library. Importing Timestamp separately is a duplication of code in the browser. Make the Timestamp exports available from each calendar so devs don't have to separately import from Timestamp.
- Aside from the above, the QCalendar wrapper now exports all the Calendars that it wraps, so devs don't have to import calendars from other sources.
Examples:
import {
QCalendarTask,
today,
isBetweenDates,
parsed,
padNumber
} from '@quasar/quasar-ui-qcalendar/src/QCalendarTask.js'Installing
Use the next tag whenever you'd install it normally.
$ yarn add @quasar/quasar-ui-qcalendar@next
# or
$ quasar ext add @quasar/qcalendar@next
Documentation
QCalendar v2 documentation is now hosted by Netlify. Visit the documentation to get more information and a Migration Guide (in the Help section). The documentation is incomplete and is currently being updated. You can help out by PR-ing deficiencies.
Donations
QCalendar is an open-source MIT licensed project that has been made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:
v4.0.0-beta.8
QCalendar v4.0.0 Beta 8
Fixes:
- fix(api): incorrect context-menu event
- fix(ui): Switching between day, week and month view using calendar's view property is not working (#350)
New Features:
- feat(ui): QCalendarResource can now have a view that doesn't default to a "day"
- Right now it's difficult to tell when you go from one day to the next. This is where the developer needs to indicate a date for the visible view or create some other sort of indicator (each day has a different background, etc).
Installing
Use the next tag whenever you'd install it normally.
$ yarn add @quasar/quasar-ui-qcalendar@next
# or
$ quasar ext add @quasar/qcalendar@next
Documentation
QCalendar v2 documentation is now hosted by Netlify. Visit the documentation to get more information and a Migration Guide (in the Help section). The documentation is incomplete and is currently being updated. You can help out by PR-ing deficiencies.
Donations
QCalendar is an open-source MIT licensed project that has been made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:
v4.0.0-beta.7
- fix(api): QCalendar - value -> model-value (modelValue)
- chore(api): Task - add to desc for "task-key" (taskKey)
- feat(build): a better way of handling the version issue
- fix: proper build types for dist
v4.0.0-beta.6
- fix(ui): remove
package.jsonfrom distributables - fix(resource): borders are incorrect (#344)
- fix(scheduler): css border improvements
- fix(task): css border improvements
v4.0.0-beta.5
- feat(ui): scope for head-* slots should contain "disabled"
- fix(ui): prevent unintended "current" day when "current weekday"
- feat(timestamp): new currentWeekday key corresponds to current weekday
- feat(month): include "disabled" key in scope object
- fix(month): computed "todayWeek" should contain correct "currentWeekday"
The Timestamp object has been changed to include currentWeekday. This affects any calendars, like QCalendarMonth that has a header. The currentWeekday will be set to true, if the current day's (as defined by now, and defaults to today's date unless explicitly set) day of the week matches the headers day of the week,
/**
* @typedef {Object} Timestamp The Timestamp object
* @property {string=} Timestamp.date Date string in format 'YYYY-MM-DD'
* @property {string=} Timestamp.time Time string in format 'HH:MM'
* @property {number} Timestamp.year The numeric year
* @property {number} Timestamp.month The numeric month (Jan = 1, ...)
* @property {number} Timestamp.day The numeric day
* @property {number} Timestamp.weekday The numeric weekday (Sun = 0, ..., Sat = 6)
* @property {number=} Timestamp.hour The numeric hour
* @property {number} Timestamp.minute The numeric minute
* @property {number=} Timestamp.doy The numeric day of the year (doy)
* @property {number=} Timestamp.workweek The numeric workweek
* @property {boolean} Timestamp.hasDay True if Timestamp.date is filled in and usable
* @property {boolean} Timestamp.hasTime True if Timestamp.time is filled in and usable
* @property {boolean=} Timestamp.past True if the Timestamp is in the past
* @property {boolean=} Timestamp.current True if Timestamp is current day (now)
* @property {boolean=} Timestamp.future True if Timestamp is in the future
* @property {boolean=} Timestamp.disabled True if this is a disabled date
* @property {boolean=} Timestamp.currentWeekday True if this date corresponds to current weekday
*/
export const Timestamp = {
date: '', // YYYY-MM-DD
time: '', // HH:MM (optional)
year: 0, // YYYY
month: 0, // MM (Jan = 1, etc)
day: 0, // day of the month
weekday: 0, // week day (0=Sunday...6=Saturday)
hour: 0, // 24-hr format
minute: 0, // mm
doy: 0, // day of year
workweek: 0, // workweek number
hasDay: false, // if this timestamp is supposed to have a date
hasTime: false, // if this timestamp is supposed to have a time
past: false, // if timestamp is in the past (based on `now` property)
current: false, // if timestamp is current date (based on `now` property)
future: false, // if timestamp is in the future (based on `now` property)
disabled: false, // if timestamp is disabled
currentWeekday: false // if this date corresponds to current weekday
}v4.0.0-beta.4
- fix(ui): parseTimestamp is not exported correctly in typescript (#340)