yotamberk
cf75437692
Fix dragging items that have a React template ( #2211 )
* Hide vertically hidden ranged items in groups that are not visible
* Add element to templates options
* Fix comment typo
* Add documentation for react mounting
* add react example
* Fix typo
* fix title
* Fix review comments
* Add vis-drag-center to fix dragging bug when template is react component
8 years ago
Alexander Wunschik
6afe0f1845
timeline: use css style instead of delete image ( #2034 )
8 years ago
Yotam Berkowitz
885ebffbce
fix delete btn and remove console.logs
8 years ago
jos
27c75df0f6
Fixed #1554 : wrong cursor on readonly range items
9 years ago
bertolds
f43e935bef
Issues #275 , #363 - individual Timeline items editable or readonly
Timeline will check for the property 'editable' on individual items.
if editable === true
ignore timeline option 'editable'
allow item to be edited
else if editable === false
ignore timeline option 'editable'
do not allow item to be edited
else
use timeline option 'editable'
If two items are selected and one is not editable, only the editable
item is draggable.
This change required the css class .vis-editable be moved from the
item set to the individual item containers to maintain proper styling.
9 years ago
jos
cc574a4195
Fixed transparency of background items
9 years ago
jos
61108f393e
Renamed class `.vis-item-frame` to `.vis-item-overflow`
9 years ago
jos
d4ba655050
Changed the 'auto' alignment of range item contents such that it always displays the left side of the conents (see #785 )
9 years ago
jos
1d3ec56c49
Added extra div to background items too
9 years ago
jos
0585fc4d34
Fixed delete button not being visible
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
9 years ago
jos
c08a8a582f
Fixed #609 : reduce the left/right dragarea when an item range is very small, so you can still move it as a whole
9 years ago
jos
81dc7642fe
Fixed #621 : item ranges being displayed with a minimum of 10px (twice the padding).
9 years ago
jos
60e0525187
Fixed another bug related to overflowing contents ( #459 )
10 years ago
jos
95e12e42da
Fixed #459 : content in range items may overflow range after zoom
10 years ago
jos
ace17d4f21
Fixed height of BackgroundItems not being 100% when timeline has a fixed height
10 years ago
jos
31e0c20f72
Simplified the background item support for empty/undefined contents
10 years ago
Alex de Mulder
7c1ede99af
no default padding and margin for backgrounditems
10 years ago
Alex de Mulder
8f63c115ee
updated background itemtype. No content is allowed now.
10 years ago
jos
5391f7c29d
Fixed #162 : Implemented a new item type `background`
10 years ago
jos
9d45d947e5
Dots of items are now attached to the top panel instead of background panel (no need for z-index tricks)
10 years ago
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
10 years ago
jos
18f73d78bd
Cleaned up some css
10 years ago
jos
d78a823d4e
Removed the 'rangeoverflow' item type
10 years ago
jos
30da48a49e
Fixed a bug in positioning/sizing the vertical lines of box items
10 years ago
jos
f672f7b583
Reworked options and setOptions
10 years ago
jos
c06d00a3ef
Some css improvements
10 years ago
jos
bc0c4159c8
Removed queuing mechanism from GroupSet
10 years ago
jos
91fc13348b
Disabled css transitions for now, needs some more work
10 years ago
jos
4ab1d08876
Moved the dots and vertical lines of box items to a separate panel
10 years ago
josdejong
e35076e280
Turned off animation for rootPanel and itemSet (css issues)
10 years ago
josdejong
867c1d9dd0
Fixed box-sizing of items on Firefox ( Fixed #74 )
10 years ago
josdejong
21bb0559e1
Refactored Itemset.repaint, simplified vertical positioning of items
10 years ago
josdejong
8717aac332
Refactored item selection
10 years ago
josdejong
785096c51a
Fixed a bug with margin.item=0 and margin.axis=0. Clarified some options in the documentation
10 years ago
josdejong
62c22f604f
Stacking starts to work
10 years ago
josdejong
819f1308b3
Added validation for callback functions. Some css fixes for range
10 years ago
josdejong
dbd68d78cc
Fixed content overflow of ItemRange
10 years ago
josdejong
19458b71b8
Fixed broken alignment of text in range
10 years ago
josdejong
285257e6fc
neatly applying option editable everywhere
10 years ago
josdejong
339d39ec3d
Dragging left and right side of a range almost working
10 years ago
josdejong
797a138696
Timeline items can now be deleted
10 years ago
josdejong
b017edcaaa
Functions `select` and `unselect` on Items working
11 years ago
josdejong
7e6810955d
Switched to 2-space indentation
11 years ago
Eric Gillingham
aa58fe83a6
Undo local CSS changes for an easier upstream merge
11 years ago
Eric Gillingham
4beee1f290
Create ItemRangeOverflow item type
Overflow simply extends ItemRange with a new getWidth() function that
determines if the content of the range is wider than the range box
itself.
This did require adding a getWidth() function to the Item object that
always just returns this.width, and adjusting Stack.js to use the new
getWidth() function instead of item.width
11 years ago
josdejong
620bc9e3cb
Implemented grouping support in the Timeline
11 years ago
Eric Gillingham
812dee30ac
Change range content to overflow nicely if the range width is smaller
than the width of the text. This prevents range items with longer text
lines from being completely hidden.
Also update the stacking collision check to handle this case so that the
overflowed text is not hidden by another item.
11 years ago
josdejong
1ecb550d59
Moved the source files around
11 years ago
josdejong
8ac893855c
Halfway implementation of groups
11 years ago