Renamed decorative element style names:
- “headercorner” -> “header-deco”
- “footercorner” -> “footer-deco”
- “horizontalscrollbarbackground” -> “horizontal-scrollbar-deco”
The “-stripe” style name is now added for odd rows, not even (like in
all Table themes).
Re-implemented the Base mixins for Grid and Escalator. They are now
used for all themes, which should make future development easier
because things should only be implemented in one place.
This change makes the theme also less brittle hopefully, because it
reduces the amount of pixel calculations for paddings etc. and relies
more on plain CSS.
The Base theme now offers many variables for extending themes. This
reduces unnecessary CSS output, and makes it easier to maintain
multiple themes for the Grid.
Added a box-shadow and box-sizing mixins to Base.
Converted all CSS comments to Sass comments.
Change-Id: Iba925062c754c115b5f15e155659cfdccc702945
Full Name of defect:
Regression: Table column jumps when table is shown and table is contained in a layout
Regression is a outcome of change due to #12672.
No TB4 test because problem happens too fast to be caught.
Change-Id: I9af5ed3c11e0fb673c7f2f1c5fd4739bd4b8c655
Unprefixed styles are easier to use, are consistent with header styles and
multiple styles are consistent instead of the first one being prefixed.
Change-Id: I9ef7502e2e9ece33982f6bf563f95458bf6ea63d
Make AbstractRemoteDataSource easier to use (#13334)
- Adds a callback to requestRows so implementors know what to do when
receiving data
- Guestimate the initial amount of available rows so an initial request
can be made before the actual size is known
Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4
Revert "Notify server side component about clicks in form layout (#6346)."
This reverts commit 23bdb6e90d.
The included test (FormLayoutClickListenerTest) fails on all other browsers except PhantomJS.
Change-Id: Ib60d051da9100eef8f30e6578ac73314bcda3ec3
Reset tabsheet scroller when unhiding leftmost tab (#14644)
Checking whether invisible tab are present before the scroll index and
if so resetting the scroll index when tab goes back to visible.
Change-Id: I156dbe93963b0d9f46e21a593ffc3c4c77ebd1c6
Avoid eager cache refresh after insert and remove (#13334)
By doing the cache coverage check lazily, multiple inserts or removes
happening "at the same time" can be taken into account when deciding
which rows to fetch.
Change-Id: I25c8248a1ec4cae76484c959efd474c9a880d329
always retry a status code 0 uidl request (#15254)
A status code of 0 indicates that the request has not been handled by
the server because the connection was closed without sending response
headers.
This can happen on the browser side when the browser window is closed,
or it can happen on network equipment side under adverse quality of link
conditions.
Therefore vaadin should retry such a request once before popping up the
disconnect message.
Change-Id: I9524c97a3de8e4ac9499394a2a795b0441a36ead
MenuBar submenus close unexpectedly if use Valo theme (#15255)
This fix is for animation-in and animation-out.
Fix was done in VMenuBar. VOverlay provides now hide() method with
possibility to enable/disable the animations via parameters boolean
animateIn, boolean animateOut. By default they are true (not to break
animate-in, animate-out for VWindow and VNotification)
Change-Id: I49981952c7c18a02edd7fa9e6d247bb18f660207
Remove selection column from single selection model (#13334)
This patch makes some changes to selection model logic and refactors the
space selection handling from MultiSelectionRenderer to its own class.
Change-Id: I5c4a7d68531a8b4f38991719ae54c9f87119e9a4