Skip to content

Releases: zunnzunn/vue-ganttastic

v.2.3.2

30 Mar 07:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.3.2

v2.3.1

19 Mar 21:08
Compare
Choose a tag to compare

What's new?

  • Feature: The precision prop supports the long-awaited value week for rendering calendar weeks in the timeaxis.
  • Feature: New props label-column-titleand label-column-width for rendering the row labels in a dedicated column on the left side of the chart. Corresponding slots label-column-titleand label-column-row have been added, too!
  • Feature: New props current-time-marker and current-time-label for displaying a dashed vertical line on the chart which represents the current time and an optional text next to it. A slot current-time-label has been added, too!
  • Feature: New property in ganttBarConfig: html for rendering HTML within a bar (make sure to sanitize the value to prevent HTML injections!)
  • Fix: The label of a row is not rendered if it is blank

New Contributors

Many thanks to the new contributors! Your effort is greatly appreciated!

Full Changelog: v2.2.0...v2.3.1

v2.2.0

15 Aug 17:25
Compare
Choose a tag to compare

What's new?

  • bars can be styled using CSS classes by adding a class property (string) to the bar's ganttBarConfig
  • the docs webpage has been migrated to Vitepress, which fixed the old persisent problem with broken hyperlinks in the docs

v2.1.4

25 Jan 11:09
Compare
Choose a tag to compare

What's new?

  • Native JavaScript Date objects may now be used for the props chart-start and chart-end, as well as for the bar-start and bar-end properties of used bar objects. if this is your use case, simply pass false to the dateFormat prop of the g-gantt-chart component

v2.1.3

26 Nov 17:19
Compare
Choose a tag to compare

What's new?

  • improved performance when dragging bar by removing redundant getBoundingClientRect calls and by using utility functions from vue-use
  • linting and doc fixes
  • Bug fix: when a bar with no bundle-ID is pushed while push-on-overlap is active, other bars with a falsy bundle-ID won't be moved anymore

v2.1.1

21 Sep 16:27
Compare
Choose a tag to compare

What's new?

  • exposed types for library users
  • upgraded packages and vuepress
  • now using Vite for bundling
  • provided context with new composable 'useContext'
  • using prettier to format
  • fixed minor type issues
  • styles:
    • removed style scoping, to make overwriting styles easier
    • removed usage of ids (in case you want to use the chart multiple times)
    • prefixed animations
    • inheriting font by default, since Helvetica isn't available on every system
    • using ew-resize cursor to show that resizing is possible in two directions and align with common UI pattern
  • using correct typographic character for range values
  • using numeric font variant so that dates always take up the same width
  • aligned wording getRowsInChart and getChartRows
  • minor updates in README.md

This version is based on contributions from @dpschen ! Thank you, Dominik!