npm v-calendar 0.8.0
v0.8.0

latest releases: 3.1.2, 2.4.2, 3.1.1...
6 years ago

Bug Fixes

v-date-picker

  • Fixes select-attribute and drag-attribute props getting written over. Closes #75.

Improvements

v-calendar

  • Attribute types (highlight, bar, dot, contentStyle, popover) can now be defined as functions that accept an object parameter with the following properties and return an object. Closes #81.
Property Name Type Description
day Object Object with specific information about the day displaying the attribute.
targetDate Object Date info object.
isHovered Boolean Day element is currently hovered over.
isFocused Boolean Day element is currently focused. Only applies when a popover is configured.
onStart Boolean Day lies on the first day of the attribute's targetDate.
onEnd Boolean Day lies on the last day of the attributes's targetDate.
  • The attribute.contentHoverStyle property has been deprecated in favor of using a function for attribute.contentStyle.
  • The dayContentHover theme style has been deprecated in favor of using a function to define the contentStyle.
  • Support use of a formats.data parser to parse attribute dates

v-date-picker

  • Add popoverShowClearMargin prop to apply clear margin when popover appears. Closes #47.
  • Add events for popover-will-appear, popover-did-appear, popover-will-disappear and popover-did-disappear
  • show-popover prop renamed to show-day-popover to avoid confusion with input popover
  • popoverContentOffset prop converted to number instead of a string

defaults

  • formats.data supported for parsing attribute dates
  • date-picker-show-popover renamed to date-picker-show-day-popover
  • popover-content-offset is converted to number instead of a string

Don't miss a new v-calendar release

NewReleases is sending notifications on new releases.