Releases: zunnzunn/vue-ganttastic
Releases · zunnzunn/vue-ganttastic
v.2.3.2
What's Changed
- Bugfix/adjusting blank labels and label column by @Pedrocanoas in #105
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's new?
- Feature: The
precisionprop supports the long-awaited valueweekfor rendering calendar weeks in the timeaxis. - Feature: New props
label-column-titleandlabel-column-widthfor rendering the row labels in a dedicated column on the left side of the chart. Corresponding slotslabel-column-titleandlabel-column-rowhave been added, too! - Feature: New props
current-time-markerandcurrent-time-labelfor displaying a dashed vertical line on the chart which represents the current time and an optional text next to it. A slotcurrent-time-labelhas been added, too! - Feature: New property in
ganttBarConfig:htmlfor 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!
- @Pedrocanoas made their first contribution in #102
- @N0ah-S made their first contribution in #94
- @MikeVeerman made their first contribution in #46
Full Changelog: v2.2.0...v2.3.1
v2.2.0
v2.1.4
What's new?
- Native JavaScript Date objects may now be used for the props
chart-startandchart-end, as well as for thebar-startandbar-endproperties of used bar objects. if this is your use case, simply passfalseto thedateFormatprop of theg-gantt-chartcomponent
v2.1.3
What's new?
- improved performance when dragging bar by removing redundant
getBoundingClientRectcalls 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-overlapis active, other bars with a falsy bundle-ID won't be moved anymore
v2.1.1
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-resizecursor 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
getRowsInChartandgetChartRows - minor updates in
README.md
This version is based on contributions from @dpschen ! Thank you, Dominik!