From f04287fbe3d8bc9751e22608fe84a436a272dd7d Mon Sep 17 00:00:00 2001
From: Jouni Koivuviita
Date: Wed, 16 Apr 2014 14:08:16 +0300
Subject: Updated license.html and release-notes.html
Added a license notice to license.html of each font that is bundled in
Valo.
Modified release notes to mention Valo (removed enhancement notes that
relate to previous release) and wrote a short how-to for using Valo in
the alpha releases.
Change-Id: I68b32856a3c5317635a40d9a0460be18d82be555
---
WebContent/release-notes.html | 135 +++++++++++++++++-------------------------
1 file changed, 55 insertions(+), 80 deletions(-)
(limited to 'WebContent/release-notes.html')
diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html
index 38d9f5211c..eeeea1071d 100644
--- a/WebContent/release-notes.html
+++ b/WebContent/release-notes.html
@@ -134,102 +134,77 @@
enhancements. Below is a list of the most notable changes:
- - Server push (Use the @Push annotation to
- enable push for a UI)
-
- - Server polling using UI.setPollInterval()
- - Enhanced debug window
- - Internet Explorer 10 support
- - Sass compiler improvements: arithmetics, @content
- - Dynamic CSS injection
- - Support for SCSS/CSS files in all add-ons (Use Vaadin-Stylesheet
- in the manifest)
-
- - Calendar is included in the core framework
- - ProgressBar provides progress indication
- without polling (separated from ProgressIndicator)
- - Tooltip and loading indicator delays configurable
- on server side
- - The range of a DateField can be limited
-
- - Window has maximize/restore controls
- - UI and VaadinSession provide access()
- to access the UI and session while holding the needed
- lock
- - A new @VaadinServletConfiguration annotation
- for configuring servlet parameters
-
- - WAI-ARIA support for form fields, Button,
- and Tree
- - The behavior of Property.toString() can be
- toggled using the legacyPropertyToString init
- parameter
-
- - Default alignment can be set for layout components
- - FieldGroup supports SQL date fields and date
- field creation
- - Converter.convertToModel/convertFromModel
- now gets an additional parameter describing the target
- type
- - The browser page can be reloaded programmatically
- using Page.reload()
-
- - The VaadinServlet/VaadinPortlet and VaadinService
- classes have been refactored
-
- - Several locking related fixes
- - Client compiler dependencies are packaged as a
- separate jar
- - DefaultWidgetSet is even more optimized (using
- compiler parameter -XenableClosureCompiler)
-
- - Java assert statements have been added to
- critical code sections. Start JVM with -ea to
- use.
-
- - StateChangeEvent.isInitialState()
- indicates if event is the first for a connector
- - ClientConnector.isAttached()
- indicates if connector is attached
- - Container.Filterable now contains a getContainerFilters()
- method
- - TableQuery now supports schemas and catalogs
+ - Valo theme – see the separate section
+ about the features of the new theme and how to use it
- Tools have been updated for Vaadin @version-minor@ with
+
For enchancements introduced in Vaadin 7, see the Release
Notes for Vaadin 7.0.0.
+
+ Valo theme
+
+ Valo is a brand new built-in theme for Vaadin. It leverages
+ the Sass CSS preprocessor heavily,
+ providing a variety of ways to customize the look and feel of your theme.
+ Read the introductory blog post describing the features for the
+ Vaadin 7.x series.
+
+ Using Valo
+
+ The Java-based Sass compiler bundled with this Vaadin release
+ does not support all the features that Valo requires at the moment.
+ The compiler in the release version of Vaadin 7.3 will support Valo,
+ but for this alpha release, you need to use the original Ruby-based
+ compiler (or any other Sass 3.2 compatible Sass compiler). See
+ instructions below.
+
+
+ - Install the command-line version of the Sass compiler by following
+ the instructions in http://sass-lang.com/install
+ - Unpack the
VAADIN/themes/valo
folder from
+ vaadin-themes-7.3.0.alpha1.jar
and place it under your
+ project's VAADIN/themes
folder
+ - In your project's custom theme, import Valo and do any modifications
+ you wish using the Sass API in Valo (i.e., variables, mixins, and functions),
+ and then include the main valo mixin
+
Example (in my-theme-name.scss
):
+ // Any variables you wish to override should be done before importing Valo
+
+// Modify the base color of the theme
+$v-app-background-color: hsl(200, 50%, 50%);
+
+@import "../valo/valo";
+
+.my-theme-name {
+ @include valo;
+}
+
+
+ - From the command-line, navigate to your project's
+
VAADIN/themes/my-theme-name
folder and use the following command
+ to compile the theme:
+ $ sass styles.scss styles.css
+
Limitations
- - It is currently not possible to specify font-size
+
It is currently not possible to specify font-size
as em or %, or layout component sizes
with em (#10634)
+ href="http://dev.vaadin.com/ticket/10634">#10634).
This
+ does not apply to Valo, but using em sizes to size layouts is discouraged,
+ because it results in fractional component sizes in many cases, which
+ might cause unwanted 1px gaps between components.
- Push is currently not supported in portals (See #11493)
--
cgit v1.2.3