Repository navigation
v1.5.0
Adds an opt-in background-click event to NetworkGraph, GanttChart, TaskBoard and EventCalendar, so applications can clear a controlled selection when empty space is clicked, and the examples and showcases now clear their selection on such a click or Escape. Glyph buttons inside the components (zoom, row toggles, add and remove buttons) are drawn as SVG icons and stay centered whatever font an application gives buttons. Every change is backward compatible.
Added
- NetworkGraph, GanttChart, TaskBoard and EventCalendar emit an opt-in
background-clickwhen empty space is clicked without dragging, so applications can clear a controlled selection (the components keep none of their own). NetworkGraph reports the point in graph coordinates; GanttChart aTimelineBackgroundClick{ time, rowId? }for an empty part of the time area (not in rows where the click creates a bar); TaskBoard aTaskBoardBackgroundClick{ columnId?, laneId? }; EventCalendar anEventCalendarBackgroundClick{ time, allDay, resourceId? }when the click proposes nocreate. Nothing else changes for applications that do not listen. - The examples and showcases clear their selection when you click empty space in a graph, chart, board or calendar, or press Escape there (an Escape that cancels a drag keeps the selection).
Fixed
- The zoom-in and zoom-out buttons of NetworkGraph and GanttChart, the GanttChart row toggle and add button, the TreeGrid row actions (add below, add child, delete) and the PropertyInspector remove button draw their symbols as SVG icons, so they stay centered when an application restyles button fonts. Their accessible names are unchanged. The markup of these buttons changes from a text character to an
svgelement (vw-zoom-icon,vw-row-toggle-icon,vw-gantt-create-icon,vw-tree-grid-action-icon,vw-inspector-remove-icon); the icons usecurrentColor. - The construction showcase no longer applies its button style to the chart's own row toggles, which overlapped neighbouring rows.