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
precision
prop supports the long-awaited valueweek
for rendering calendar weeks in the timeaxis. - Feature: New props
label-column-title
andlabel-column-width
for rendering the row labels in a dedicated column on the left side of the chart. Corresponding slotslabel-column-title
andlabel-column-row
have been added, too! - Feature: New props
current-time-marker
andcurrent-time-label
for displaying a dashed vertical line on the chart which represents the current time and an optional text next to it. A slotcurrent-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!
- @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-start
andchart-end
, as well as for thebar-start
andbar-end
properties of used bar objects. if this is your use case, simply passfalse
to thedateFormat
prop of theg-gantt-chart
component
v2.1.3
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
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
andgetChartRows
- minor updates in
README.md
This version is based on contributions from @dpschen ! Thank you, Dominik!